MongoDBCollectionGetResultsInner Class

public final class MongoDBCollectionGetResultsInner
extends ProxyResource

An Azure Cosmos DB MongoDB collection.

Method Summary

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

Reads an instance of MongoDBCollectionGetResultsInner from the JsonReader.

String id()

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

ManagedServiceIdentity identity()

Get the identity property: Identity for the resource.

String location()

Get the location property: The location of the resource group to which the resource belongs.

String name()

Get the name property: The name of the resource.

MongoDBCollectionGetPropertiesOptions options()

Get the options property: The options property.

MongoDBCollectionGetPropertiesResource resource()

Get the resource property: The resource property.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Map<String,String> tags()

Get the tags property: Tags are a list of key-value pairs that describe the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

fromJson

public static MongoDBCollectionGetResultsInner fromJson(JsonReader jsonReader)

Reads an instance of MongoDBCollectionGetResultsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MongoDBCollectionGetResultsInner 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:

MongoDBCollectionGetResultsInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: Identity for the resource.

Returns:

the identity value.

location

public String location()

Get the location property: The location of the resource group to which the resource belongs.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

MongoDBCollectionGetResultsInner.name()

Returns:

the name value.

options

public MongoDBCollectionGetPropertiesOptions options()

Get the options property: The options property.

Returns:

the options value.

resource

public MongoDBCollectionGetPropertiesResource resource()

Get the resource property: The resource property.

Returns:

the resource value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public Map<String,String> tags()

Get the tags property: Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with \"defaultExperience\": \"Cassandra\". Current \"defaultExperience\" values also include \"Table\", \"Graph\", \"DocumentDB\", and \"MongoDB\".

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MongoDBCollectionGetResultsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

MongoDBCollectionGetResultsInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to