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.Resource
The core properties of ARM resources.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedCassandraArmResourceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionidentity()Get the identity property: Identity for the resource.voidvalidate()Validates the instance.Set the identity property: Identity for the resource.withLocation(String location) Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ManagedCassandraArmResourceProperties
public ManagedCassandraArmResourceProperties()Creates an instance of ManagedCassandraArmResourceProperties class.
-
-
Method Details
-
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
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-