Class EventSourceCreateOrUpdateParameters
java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.CreateOrUpdateTrackedResourceProperties
com.azure.resourcemanager.timeseriesinsights.models.EventSourceCreateOrUpdateParameters
- Direct Known Subclasses:
EventHubEventSourceCreateOrUpdateParameters
,IoTHubEventSourceCreateOrUpdateParameters
Parameters supplied to the Create or Update Event Source operation.
-
Constructor Summary
ConstructorDescriptionCreates an instance of EventSourceCreateOrUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the localTimestamp property: An object that represents the local timestamp property.void
validate()
Validates the instance.withLocalTimestamp
(LocalTimestamp localTimestamp) Set the localTimestamp property: An object that represents the local timestamp property.withLocation
(String location) Set the location property: The location of the resource.Set the tags property: Key-value pairs of additional properties for the resource.Methods inherited from class com.azure.resourcemanager.timeseriesinsights.models.CreateOrUpdateTrackedResourceProperties
location, tags
-
Constructor Details
-
EventSourceCreateOrUpdateParameters
public EventSourceCreateOrUpdateParameters()Creates an instance of EventSourceCreateOrUpdateParameters class.
-
-
Method Details
-
localTimestamp
Get the localTimestamp property: An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.- Returns:
- the localTimestamp value.
-
withLocalTimestamp
Set the localTimestamp property: An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn't specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.- Parameters:
localTimestamp
- the localTimestamp value to set.- Returns:
- the EventSourceCreateOrUpdateParameters object itself.
-
withLocation
Set the location property: The location of the resource.- Overrides:
withLocation
in classCreateOrUpdateTrackedResourceProperties
- Parameters:
location
- the location value to set.- Returns:
- the CreateOrUpdateTrackedResourceProperties object itself.
-
withTags
Set the tags property: Key-value pairs of additional properties for the resource.- Overrides:
withTags
in classCreateOrUpdateTrackedResourceProperties
- Parameters:
tags
- the tags value to set.- Returns:
- the CreateOrUpdateTrackedResourceProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classCreateOrUpdateTrackedResourceProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-