Class ManagedCassandraArmResourceProperties
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.cosmos.models.ManagedCassandraArmResourceProperties
-
- Direct Known Subclasses:
ClusterResourceInner
public class ManagedCassandraArmResourceProperties extends com.azure.core.management.ResourceThe core properties of ARM resources.
-
-
Constructor Summary
Constructors Constructor Description ManagedCassandraArmResourceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedCassandraManagedServiceIdentityidentity()Get the identity property: Identity for the resource.voidvalidate()Validates the instance.ManagedCassandraArmResourcePropertieswithIdentity(ManagedCassandraManagedServiceIdentity identity)Set the identity property: Identity for the resource.ManagedCassandraArmResourcePropertieswithLocation(String location)ManagedCassandraArmResourcePropertieswithTags(Map<String,String> tags)
-
-
-
Method Detail
-
identity
public ManagedCassandraManagedServiceIdentity identity()
Get the identity property: Identity for the resource.- Returns:
- the identity value.
-
withIdentity
public ManagedCassandraArmResourceProperties withIdentity(ManagedCassandraManagedServiceIdentity identity)
Set the identity property: Identity for the resource.- Parameters:
identity- the identity value to set.- Returns:
- the ManagedCassandraArmResourceProperties object itself.
-
withLocation
public ManagedCassandraArmResourceProperties withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public ManagedCassandraArmResourceProperties withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-