public final class FutureReservation extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
FutureReservation() |
| Modifier and Type | Method and Description |
|---|---|
FutureReservation |
clone() |
String |
getCreationTimestamp()
[Output Only] The creation timestamp for this future reservation in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
BigInteger |
getId()
[Output Only] A unique identifier for this future reservation.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
The name of the resource, provided by the client when initially creating the resource.
|
String |
getNamePrefix()
Name prefix for the reservations to be created at the time of delivery.
|
String |
getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
String |
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
|
ShareSettings |
getShareSettings()
List of Projects/Folders to share with.
|
FutureReservationSpecificSKUProperties |
getSpecificSkuProperties()
Future Reservation configuration to indicate instance properties and total count.
|
FutureReservationStatus |
getStatus()
[Output only] Status of the Future Reservation
|
FutureReservationTimeWindow |
getTimeWindow()
Time window for this Future Reservation.
|
String |
getZone()
[Output Only] URL of the Zone where this future reservation resides.
|
FutureReservation |
set(String fieldName,
Object value) |
FutureReservation |
setCreationTimestamp(String creationTimestamp)
[Output Only] The creation timestamp for this future reservation in RFC3339 text format.
|
FutureReservation |
setDescription(String description)
An optional description of this resource.
|
FutureReservation |
setId(BigInteger id)
[Output Only] A unique identifier for this future reservation.
|
FutureReservation |
setKind(String kind)
[Output Only] Type of the resource.
|
FutureReservation |
setName(String name)
The name of the resource, provided by the client when initially creating the resource.
|
FutureReservation |
setNamePrefix(String namePrefix)
Name prefix for the reservations to be created at the time of delivery.
|
FutureReservation |
setSelfLink(String selfLink)
[Output Only] Server-defined fully-qualified URL for this resource.
|
FutureReservation |
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id.
|
FutureReservation |
setShareSettings(ShareSettings shareSettings)
List of Projects/Folders to share with.
|
FutureReservation |
setSpecificSkuProperties(FutureReservationSpecificSKUProperties specificSkuProperties)
Future Reservation configuration to indicate instance properties and total count.
|
FutureReservation |
setStatus(FutureReservationStatus status)
[Output only] Status of the Future Reservation
|
FutureReservation |
setTimeWindow(FutureReservationTimeWindow timeWindow)
Time window for this Future Reservation.
|
FutureReservation |
setZone(String zone)
[Output Only] URL of the Zone where this future reservation resides.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCreationTimestamp()
null for nonepublic FutureReservation setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic FutureReservation setDescription(String description)
description - description or null for nonepublic BigInteger getId()
null for nonepublic FutureReservation setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic FutureReservation setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic FutureReservation setName(String name)
name - name or null for nonepublic String getNamePrefix()
null for nonepublic FutureReservation setNamePrefix(String namePrefix)
namePrefix - namePrefix or null for nonepublic String getSelfLink()
null for nonepublic FutureReservation setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic FutureReservation setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic ShareSettings getShareSettings()
null for nonepublic FutureReservation setShareSettings(ShareSettings shareSettings)
shareSettings - shareSettings or null for nonepublic FutureReservationSpecificSKUProperties getSpecificSkuProperties()
null for nonepublic FutureReservation setSpecificSkuProperties(FutureReservationSpecificSKUProperties specificSkuProperties)
specificSkuProperties - specificSkuProperties or null for nonepublic FutureReservationStatus getStatus()
null for nonepublic FutureReservation setStatus(FutureReservationStatus status)
status - status or null for nonepublic FutureReservationTimeWindow getTimeWindow()
null for nonepublic FutureReservation setTimeWindow(FutureReservationTimeWindow timeWindow)
timeWindow - timeWindow or null for nonepublic String getZone()
null for nonepublic FutureReservation setZone(String zone)
zone - zone or null for nonepublic FutureReservation set(String fieldName, Object value)
set in class GenericJsonpublic FutureReservation clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.