public final class IpMapping
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 Cloud SQL 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 |
---|
IpMapping() |
Modifier and Type | Method and Description |
---|---|
IpMapping |
clone() |
java.lang.String |
getIpAddress()
The IP address assigned.
|
com.google.api.client.util.DateTime |
getTimeToRetire()
The due time for this IP to be retired in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
|
java.lang.String |
getType()
The type of this IP address.
|
IpMapping |
set(java.lang.String fieldName,
java.lang.Object value) |
IpMapping |
setIpAddress(java.lang.String ipAddress)
The IP address assigned.
|
IpMapping |
setTimeToRetire(com.google.api.client.util.DateTime timeToRetire)
The due time for this IP to be retired in RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
|
IpMapping |
setType(java.lang.String type)
The type of this IP address.
|
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 getIpAddress()
null
for nonepublic IpMapping setIpAddress(java.lang.String ipAddress)
ipAddress
- ipAddress or null
for nonepublic com.google.api.client.util.DateTime getTimeToRetire()
null
for nonepublic IpMapping setTimeToRetire(com.google.api.client.util.DateTime timeToRetire)
timeToRetire
- timeToRetire or null
for nonepublic java.lang.String getType()
null
for nonepublic IpMapping setType(java.lang.String type)
type
- type or null
for nonepublic IpMapping set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public IpMapping clone()
clone
in class com.google.api.client.json.GenericJson