ManagedCassandraArmResourceProperties Class

public class ManagedCassandraArmResourceProperties
extends Resource

The core properties of ARM resources.

Constructor Summary

Constructor Description
ManagedCassandraArmResourceProperties()

Creates an instance of ManagedCassandraArmResourceProperties class.

Method Summary

Modifier and Type Method and Description
static ManagedCassandraArmResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of ManagedCassandraArmResourceProperties from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

ManagedCassandraManagedServiceIdentity identity()

Get the identity property: Identity for the resource.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ManagedCassandraArmResourceProperties withIdentity(ManagedCassandraManagedServiceIdentity identity)

Set the identity property: Identity for the resource.

ManagedCassandraArmResourceProperties withLocation(String location)
ManagedCassandraArmResourceProperties 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:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedCassandraArmResourceProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ManagedCassandraArmResourceProperties.id()

Returns:

the id value.

identity

public ManagedCassandraManagedServiceIdentity identity()

Get the identity property: Identity for the resource.

Returns:

the identity value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ManagedCassandraArmResourceProperties.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ManagedCassandraArmResourceProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ManagedCassandraArmResourceProperties.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

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:

ManagedCassandraArmResourceProperties.withLocation(String location)

Parameters:

location

withTags

public ManagedCassandraArmResourceProperties withTags(Map tags)

Overrides:

ManagedCassandraArmResourceProperties.withTags(Map<String,String> tags)

Parameters:

tags

Applies to