Class DicomServicePatchResource
- java.lang.Object
-
- com.azure.resourcemanager.healthcareapis.models.ResourceTags
-
- com.azure.resourcemanager.healthcareapis.models.DicomServicePatchResource
-
public final class DicomServicePatchResource extends ResourceTags
Dicom Service patch properties.
-
-
Constructor Summary
Constructors Constructor Description DicomServicePatchResource()
-
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.DicomServicePatchResource
withIdentity(ServiceManagedIdentityIdentity identity)
Set the identity property: Setting indicating whether the service has a managed identity associated with it.DicomServicePatchResource
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 DicomServicePatchResource 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 DicomServicePatchResource object itself.
-
withTags
public DicomServicePatchResource 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.
-
-