public final class InstanceWithNamedPorts
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
InstanceWithNamedPorts() |
| Modifier and Type | Method and Description |
|---|---|
InstanceWithNamedPorts |
clone() |
java.lang.String |
getInstance()
[Output Only] The URL of the instance.
|
java.util.List<NamedPort> |
getNamedPorts()
[Output Only] The named ports that belong to this instance group.
|
java.lang.String |
getStatus()
[Output Only] The status of the instance.
|
InstanceWithNamedPorts |
set(java.lang.String fieldName,
java.lang.Object value) |
InstanceWithNamedPorts |
setInstance(java.lang.String instance)
[Output Only] The URL of the instance.
|
InstanceWithNamedPorts |
setNamedPorts(java.util.List<NamedPort> namedPorts)
[Output Only] The named ports that belong to this instance group.
|
InstanceWithNamedPorts |
setStatus(java.lang.String status)
[Output Only] The status of the instance.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getInstance()
null for nonepublic InstanceWithNamedPorts setInstance(java.lang.String instance)
instance - instance or null for nonepublic java.util.List<NamedPort> getNamedPorts()
null for nonepublic InstanceWithNamedPorts setNamedPorts(java.util.List<NamedPort> namedPorts)
namedPorts - namedPorts or null for nonepublic java.lang.String getStatus()
null for nonepublic InstanceWithNamedPorts setStatus(java.lang.String status)
status - status or null for nonepublic InstanceWithNamedPorts set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic InstanceWithNamedPorts clone()
clone in class com.google.api.client.json.GenericJson