LocationGetResultInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. cosmos. models. ArmProxyResource - com.
azure. resourcemanager. cosmos. fluent. models. LocationGetResultInner
- com.
- com.
- com.
public final class LocationGetResultInner
extends ArmProxyResource
Cosmos DB location get result.
Constructor Summary
Constructor | Description |
---|---|
LocationGetResultInner() |
Creates an instance of Location |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Location |
fromJson(JsonReader jsonReader)
Reads an instance of Location |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Location |
properties()
Get the properties property: Cosmos DB location metadata. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Location |
withProperties(LocationProperties properties)
Set the properties property: Cosmos DB location metadata. |
Methods inherited from ArmProxyResource
Methods inherited from java.lang.Object
Constructor Details
LocationGetResultInner
public LocationGetResultInner()
Creates an instance of LocationGetResultInner class.
Method Details
fromJson
public static LocationGetResultInner fromJson(JsonReader jsonReader)
Reads an instance of LocationGetResultInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
LocationGetResultInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
LocationGetResultInner.name()Returns:
properties
public LocationProperties properties()
Get the properties property: Cosmos DB location metadata.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
LocationGetResultInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
LocationGetResultInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
LocationGetResultInner.validate()withProperties
public LocationGetResultInner withProperties(LocationProperties properties)
Set the properties property: Cosmos DB location metadata.
Parameters:
Returns:
Applies to
Azure SDK for Java