MongoDBCollectionGetResultsInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. cosmos. models. ArmResourceProperties - com.
azure. resourcemanager. cosmos. fluent. models. MongoDBCollectionGetResultsInner
- com.
- com.
- com.
- com.
public final class MongoDBCollectionGetResultsInner
extends ArmResourceProperties
An Azure Cosmos DB MongoDB collection.
Constructor Summary
Constructor | Description |
---|---|
MongoDBCollectionGetResultsInner() |
Creates an instance of Mongo |
Method Summary
Methods inherited from Resource
Methods inherited from ArmResourceProperties
Methods inherited from java.lang.Object
Constructor Details
MongoDBCollectionGetResultsInner
public MongoDBCollectionGetResultsInner()
Creates an instance of MongoDBCollectionGetResultsInner class.
Method Details
fromJson
public static MongoDBCollectionGetResultsInner fromJson(JsonReader jsonReader)
Reads an instance of MongoDBCollectionGetResultsInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
MongoDBCollectionGetResultsInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
MongoDBCollectionGetResultsInner.name()Returns:
options
public MongoDBCollectionGetPropertiesOptions options()
Get the options property: The options property.
Returns:
resource
public MongoDBCollectionGetPropertiesResource resource()
Get the resource property: The resource property.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MongoDBCollectionGetResultsInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
MongoDBCollectionGetResultsInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
MongoDBCollectionGetResultsInner.validate()withLocation
public MongoDBCollectionGetResultsInner withLocation(String location)
Overrides:
MongoDBCollectionGetResultsInner.withLocation(String location)Parameters:
withOptions
public MongoDBCollectionGetResultsInner withOptions(MongoDBCollectionGetPropertiesOptions options)
Set the options property: The options property.
Parameters:
Returns:
withResource
public MongoDBCollectionGetResultsInner withResource(MongoDBCollectionGetPropertiesResource resource)
Set the resource property: The resource property.
Parameters:
Returns:
withTags
public MongoDBCollectionGetResultsInner withTags(Map
Overrides:
MongoDBCollectionGetResultsInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java