Container Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. Container
- com.
- com.
public final class Container
extends SubResource
Reference to container resource in remote resource provider.
Constructor Summary
Constructor | Description |
---|---|
Container() |
Creates an instance of Container class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static Container |
fromJson(JsonReader jsonReader)
Reads an instance of Container from the Json |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Container | withId(String id) |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
Container
public Container()
Creates an instance of Container class.
Method Details
fromJson
public static Container fromJson(JsonReader jsonReader)
Reads an instance of Container from the JsonReader.
Parameters:
jsonReader
- The JsonReader being read.
Returns:
An instance of Container if the JsonReader was pointing to an instance of it, or null if it was pointing
to JSON null.
Throws:
- If an error occurs while reading the Container.
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
Container.toJson(JsonWriter jsonWriter)Parameters:
jsonWriter
Throws:
validate
public void validate()
Validates the instance.
withId
public Container withId(String id)
Overrides:
Container.withId(String id)Parameters:
id
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Java