public final class Volume
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 App Engine Admin 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 |
---|
Volume() |
Modifier and Type | Method and Description |
---|---|
Volume |
clone() |
java.lang.String |
getName()
Unique name for the volume.
|
java.lang.Double |
getSizeGb()
Volume size in gigabytes.
|
java.lang.String |
getVolumeType()
Underlying volume type, e.g.
|
Volume |
set(java.lang.String fieldName,
java.lang.Object value) |
Volume |
setName(java.lang.String name)
Unique name for the volume.
|
Volume |
setSizeGb(java.lang.Double sizeGb)
Volume size in gigabytes.
|
Volume |
setVolumeType(java.lang.String volumeType)
Underlying volume type, e.g.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getName()
null
for nonepublic Volume setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.Double getSizeGb()
null
for nonepublic Volume setSizeGb(java.lang.Double sizeGb)
sizeGb
- sizeGb or null
for nonepublic java.lang.String getVolumeType()
null
for nonepublic Volume setVolumeType(java.lang.String volumeType)
volumeType
- volumeType or null
for nonepublic Volume set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Volume clone()
clone
in class com.google.api.client.json.GenericJson