ManagedCassandraArmResourceProperties Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. cosmos. models. ManagedCassandraArmResourceProperties
- com.
- com.
- com.
public class ManagedCassandraArmResourceProperties
extends Resource
The core properties of ARM resources.
Constructor Summary
Constructor | Description |
---|---|
ManagedCassandraArmResourceProperties() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Managed |
identity()
Get the identity property: Identity for the resource. |
String |
name()
Get the name property: The name of the resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Managed |
withIdentity(ManagedCassandraManagedServiceIdentity identity)
Set the identity property: Identity for the resource. |
Managed |
withLocation(String location) |
Managed |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ManagedCassandraArmResourceProperties
public ManagedCassandraArmResourceProperties()
Creates an instance of ManagedCassandraArmResourceProperties class.
Method Details
fromJson
public static ManagedCassandraArmResourceProperties fromJson(JsonReader jsonReader)
Reads an instance of ManagedCassandraArmResourceProperties from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ManagedCassandraArmResourceProperties.id()Returns:
identity
public ManagedCassandraManagedServiceIdentity identity()
Get the identity property: Identity for the resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ManagedCassandraArmResourceProperties.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagedCassandraArmResourceProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ManagedCassandraArmResourceProperties.type()Returns:
validate
public void validate()
Validates the instance.
withIdentity
public ManagedCassandraArmResourceProperties withIdentity(ManagedCassandraManagedServiceIdentity identity)
Set the identity property: Identity for the resource.
Parameters:
Returns:
withLocation
public ManagedCassandraArmResourceProperties withLocation(String location)
Overrides:
ManagedCassandraArmResourceProperties.withLocation(String location)Parameters:
withTags
public ManagedCassandraArmResourceProperties withTags(Map
Overrides:
ManagedCassandraArmResourceProperties.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java