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:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
Container.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
withId
public Container withId(String id)
Overrides:
Container.withId(String id)Parameters:
Applies to
Azure SDK for Java