MongoDBDatabaseGetResultsInner 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. MongoDBDatabaseGetResultsInner
- com.
- com.
- com.
- com.
public final class MongoDBDatabaseGetResultsInner
extends ArmResourceProperties
An Azure Cosmos DB MongoDB database.
Constructor Summary
Constructor | Description |
---|---|
MongoDBDatabaseGetResultsInner() |
Creates an instance of Mongo |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Mongo |
fromJson(JsonReader jsonReader)
Reads an instance of Mongo |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Mongo |
options()
Get the options property: The options property. |
Mongo |
resource()
Get the resource property: The resource property. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Mongo |
withLocation(String location) |
Mongo |
withOptions(MongoDBDatabaseGetPropertiesOptions options)
Set the options property: The options property. |
Mongo |
withResource(MongoDBDatabaseGetPropertiesResource resource)
Set the resource property: The resource property. |
Mongo |
withTags(Map<String,String> tags) |
Methods inherited from Resource
Methods inherited from ArmResourceProperties
Methods inherited from java.lang.Object
Constructor Details
MongoDBDatabaseGetResultsInner
public MongoDBDatabaseGetResultsInner()
Creates an instance of MongoDBDatabaseGetResultsInner class.
Method Details
fromJson
public static MongoDBDatabaseGetResultsInner fromJson(JsonReader jsonReader)
Reads an instance of MongoDBDatabaseGetResultsInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
MongoDBDatabaseGetResultsInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
MongoDBDatabaseGetResultsInner.name()Returns:
options
public MongoDBDatabaseGetPropertiesOptions options()
Get the options property: The options property.
Returns:
resource
public MongoDBDatabaseGetPropertiesResource resource()
Get the resource property: The resource property.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MongoDBDatabaseGetResultsInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
MongoDBDatabaseGetResultsInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
MongoDBDatabaseGetResultsInner.validate()withLocation
public MongoDBDatabaseGetResultsInner withLocation(String location)
Overrides:
MongoDBDatabaseGetResultsInner.withLocation(String location)Parameters:
withOptions
public MongoDBDatabaseGetResultsInner withOptions(MongoDBDatabaseGetPropertiesOptions options)
Set the options property: The options property.
Parameters:
Returns:
withResource
public MongoDBDatabaseGetResultsInner withResource(MongoDBDatabaseGetPropertiesResource resource)
Set the resource property: The resource property.
Parameters:
Returns:
withTags
public MongoDBDatabaseGetResultsInner withTags(Map
Overrides:
MongoDBDatabaseGetResultsInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java