Partager via


ThroughputSettingsGetResultsInner Class

public final class ThroughputSettingsGetResultsInner
extends ArmResourceProperties

An Azure Cosmos DB resource throughput.

Constructor Summary

Constructor Description
ThroughputSettingsGetResultsInner()

Creates an instance of ThroughputSettingsGetResultsInner class.

Method Summary

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

Reads an instance of ThroughputSettingsGetResultsInner from the JsonReader.

String id()

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

String name()

Get the name property: The name of the resource.

ThroughputSettingsGetPropertiesResource resource()

Get the resource property: The resource property.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ThroughputSettingsGetResultsInner withLocation(String location)
ThroughputSettingsGetResultsInner withResource(ThroughputSettingsGetPropertiesResource resource)

Set the resource property: The resource property.

ThroughputSettingsGetResultsInner withTags(Map<String,String> tags)

Methods inherited from Resource

Methods inherited from ArmResourceProperties

Methods inherited from java.lang.Object

Constructor Details

ThroughputSettingsGetResultsInner

public ThroughputSettingsGetResultsInner()

Creates an instance of ThroughputSettingsGetResultsInner class.

Method Details

fromJson

public static ThroughputSettingsGetResultsInner fromJson(JsonReader jsonReader)

Reads an instance of ThroughputSettingsGetResultsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ThroughputSettingsGetResultsInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ThroughputSettingsGetResultsInner.name()

Returns:

the name value.

resource

public ThroughputSettingsGetPropertiesResource resource()

Get the resource property: The resource property.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ThroughputSettingsGetResultsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ThroughputSettingsGetResultsInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

ThroughputSettingsGetResultsInner.validate()

withLocation

public ThroughputSettingsGetResultsInner withLocation(String location)

Overrides:

ThroughputSettingsGetResultsInner.withLocation(String location)

Parameters:

location

withResource

public ThroughputSettingsGetResultsInner withResource(ThroughputSettingsGetPropertiesResource resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the ThroughputSettingsGetResultsInner object itself.

withTags

public ThroughputSettingsGetResultsInner withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to