Class IotConnectorInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.healthcareapis.models.ResourceCore
-
- com.azure.resourcemanager.healthcareapis.models.LocationBasedResource
-
- com.azure.resourcemanager.healthcareapis.models.TaggedResource
-
- com.azure.resourcemanager.healthcareapis.fluent.models.IotConnectorInner
-
public final class IotConnectorInner extends TaggedResource
IoT Connector definition.
-
-
Constructor Summary
Constructors Constructor Description IotConnectorInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IotMappingProperties
deviceMapping()
Get the deviceMapping property: Device Mappings.ServiceManagedIdentityIdentity
identity()
Get the identity property: Setting indicating whether the service has a managed identity associated with it.IotEventHubIngestionEndpointConfiguration
ingestionEndpointConfiguration()
Get the ingestionEndpointConfiguration property: Source configuration.ProvisioningState
provisioningState()
Get the provisioningState property: The provisioning state.com.azure.core.management.SystemData
systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.IotConnectorInner
withDeviceMapping(IotMappingProperties deviceMapping)
Set the deviceMapping property: Device Mappings.IotConnectorInner
withEtag(String etag)
Set the etag property: An etag associated with the resource, used for optimistic concurrency when editing it.IotConnectorInner
withIdentity(ServiceManagedIdentityIdentity identity)
Set the identity property: Setting indicating whether the service has a managed identity associated with it.IotConnectorInner
withIngestionEndpointConfiguration(IotEventHubIngestionEndpointConfiguration ingestionEndpointConfiguration)
Set the ingestionEndpointConfiguration property: Source configuration.IotConnectorInner
withLocation(String location)
Set the location property: The resource location.IotConnectorInner
withTags(Map<String,String> tags)
Set the tags property: Resource tags.-
Methods inherited from class com.azure.resourcemanager.healthcareapis.models.TaggedResource
tags
-
Methods inherited from class com.azure.resourcemanager.healthcareapis.models.LocationBasedResource
location
-
Methods inherited from class com.azure.resourcemanager.healthcareapis.models.ResourceCore
etag
-
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
identity
public ServiceManagedIdentityIdentity identity()
Get the identity property: Setting indicating whether the service has a managed identity associated with it.- Returns:
- the identity value.
-
withIdentity
public IotConnectorInner withIdentity(ServiceManagedIdentityIdentity identity)
Set the identity property: Setting indicating whether the service has a managed identity associated with it.- Parameters:
identity
- the identity value to set.- Returns:
- the IotConnectorInner object itself.
-
withTags
public IotConnectorInner withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Overrides:
withTags
in classTaggedResource
- Parameters:
tags
- the tags value to set.- Returns:
- the TaggedResource object itself.
-
withLocation
public IotConnectorInner withLocation(String location)
Set the location property: The resource location.- Overrides:
withLocation
in classTaggedResource
- Parameters:
location
- the location value to set.- Returns:
- the LocationBasedResource object itself.
-
withEtag
public IotConnectorInner withEtag(String etag)
Set the etag property: An etag associated with the resource, used for optimistic concurrency when editing it.- Overrides:
withEtag
in classTaggedResource
- Parameters:
etag
- the etag value to set.- Returns:
- the ResourceCore object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state.- Returns:
- the provisioningState value.
-
ingestionEndpointConfiguration
public IotEventHubIngestionEndpointConfiguration ingestionEndpointConfiguration()
Get the ingestionEndpointConfiguration property: Source configuration.- Returns:
- the ingestionEndpointConfiguration value.
-
withIngestionEndpointConfiguration
public IotConnectorInner withIngestionEndpointConfiguration(IotEventHubIngestionEndpointConfiguration ingestionEndpointConfiguration)
Set the ingestionEndpointConfiguration property: Source configuration.- Parameters:
ingestionEndpointConfiguration
- the ingestionEndpointConfiguration value to set.- Returns:
- the IotConnectorInner object itself.
-
deviceMapping
public IotMappingProperties deviceMapping()
Get the deviceMapping property: Device Mappings.- Returns:
- the deviceMapping value.
-
withDeviceMapping
public IotConnectorInner withDeviceMapping(IotMappingProperties deviceMapping)
Set the deviceMapping property: Device Mappings.- Parameters:
deviceMapping
- the deviceMapping value to set.- Returns:
- the IotConnectorInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classTaggedResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-