Class IotConnectorPatchResource
- java.lang.Object
-
- com.azure.resourcemanager.healthcareapis.models.ResourceTags
-
- com.azure.resourcemanager.healthcareapis.models.IotConnectorPatchResource
-
public final class IotConnectorPatchResource extends ResourceTags
Iot Connector patch properties.
-
-
Constructor Summary
Constructors Constructor Description IotConnectorPatchResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceManagedIdentityIdentity
identity()
Get the identity property: Setting indicating whether the service has a managed identity associated with it.void
validate()
Validates the instance.IotConnectorPatchResource
withIdentity(ServiceManagedIdentityIdentity identity)
Set the identity property: Setting indicating whether the service has a managed identity associated with it.IotConnectorPatchResource
withTags(Map<String,String> tags)
Set the tags property: Resource tags.-
Methods inherited from class com.azure.resourcemanager.healthcareapis.models.ResourceTags
tags
-
-
-
-
Method Detail
-
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 IotConnectorPatchResource 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 IotConnectorPatchResource object itself.
-
withTags
public IotConnectorPatchResource withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Overrides:
withTags
in classResourceTags
- Parameters:
tags
- the tags value to set.- Returns:
- the ResourceTags object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classResourceTags
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-