public final class FutureReservation
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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
FutureReservation() |
Modifier and Type | Method and Description |
---|---|
FutureReservation |
clone() |
AllocationAggregateReservation |
getAggregateReservation()
Aggregate reservation details for the future reservation.
|
String |
getAutoCreatedReservationsDeleteTime()
Future timestamp when the FR auto-created reservations will be deleted by Compute Engine.
|
Duration |
getAutoCreatedReservationsDuration()
Specifies the duration of auto-created reservations.
|
Boolean |
getAutoDeleteAutoCreatedReservations()
Setting for enabling or disabling automatic deletion for auto-created reservation.
|
FutureReservationCommitmentInfo |
getCommitmentInfo()
If not present, then FR will not deliver a new commitment or update an existing commitment.
|
String |
getCreationTimestamp()
[Output Only] The creation timestamp for this future reservation inRFC3339 text format.
|
String |
getDeploymentType()
Type of the deployment requested as part of future reservation.
|
String |
getDescription()
An optional description of this resource.
|
Boolean |
getEnableEmergentMaintenance()
Indicates if this group of VMs have emergent maintenance enabled.
|
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 |
getPlanningStatus()
Planning state before being submitted for evaluation
|
String |
getReservationName()
Name of reservations where the capacity is provisioned at the time of delivery of future
reservations.
|
String |
getSchedulingType()
Maintenance information for this reservation
|
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.
|
Boolean |
getSpecificReservationRequired()
Indicates whether the auto-created reservation can be consumed by VMs with affinity for "any"
reservation.
|
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 |
setAggregateReservation(AllocationAggregateReservation aggregateReservation)
Aggregate reservation details for the future reservation.
|
FutureReservation |
setAutoCreatedReservationsDeleteTime(String autoCreatedReservationsDeleteTime)
Future timestamp when the FR auto-created reservations will be deleted by Compute Engine.
|
FutureReservation |
setAutoCreatedReservationsDuration(Duration autoCreatedReservationsDuration)
Specifies the duration of auto-created reservations.
|
FutureReservation |
setAutoDeleteAutoCreatedReservations(Boolean autoDeleteAutoCreatedReservations)
Setting for enabling or disabling automatic deletion for auto-created reservation.
|
FutureReservation |
setCommitmentInfo(FutureReservationCommitmentInfo commitmentInfo)
If not present, then FR will not deliver a new commitment or update an existing commitment.
|
FutureReservation |
setCreationTimestamp(String creationTimestamp)
[Output Only] The creation timestamp for this future reservation inRFC3339 text format.
|
FutureReservation |
setDeploymentType(String deploymentType)
Type of the deployment requested as part of future reservation.
|
FutureReservation |
setDescription(String description)
An optional description of this resource.
|
FutureReservation |
setEnableEmergentMaintenance(Boolean enableEmergentMaintenance)
Indicates if this group of VMs have emergent maintenance enabled.
|
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 |
setPlanningStatus(String planningStatus)
Planning state before being submitted for evaluation
|
FutureReservation |
setReservationName(String reservationName)
Name of reservations where the capacity is provisioned at the time of delivery of future
reservations.
|
FutureReservation |
setSchedulingType(String schedulingType)
Maintenance information for this reservation
|
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 |
setSpecificReservationRequired(Boolean specificReservationRequired)
Indicates whether the auto-created reservation can be consumed by VMs with affinity for "any"
reservation.
|
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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public AllocationAggregateReservation getAggregateReservation()
null
for nonepublic FutureReservation setAggregateReservation(AllocationAggregateReservation aggregateReservation)
aggregateReservation
- aggregateReservation or null
for nonepublic String getAutoCreatedReservationsDeleteTime()
null
for nonepublic FutureReservation setAutoCreatedReservationsDeleteTime(String autoCreatedReservationsDeleteTime)
autoCreatedReservationsDeleteTime
- autoCreatedReservationsDeleteTime or null
for nonepublic Duration getAutoCreatedReservationsDuration()
null
for nonepublic FutureReservation setAutoCreatedReservationsDuration(Duration autoCreatedReservationsDuration)
autoCreatedReservationsDuration
- autoCreatedReservationsDuration or null
for nonepublic Boolean getAutoDeleteAutoCreatedReservations()
null
for nonepublic FutureReservation setAutoDeleteAutoCreatedReservations(Boolean autoDeleteAutoCreatedReservations)
autoDeleteAutoCreatedReservations
- autoDeleteAutoCreatedReservations or null
for nonepublic FutureReservationCommitmentInfo getCommitmentInfo()
null
for nonepublic FutureReservation setCommitmentInfo(FutureReservationCommitmentInfo commitmentInfo)
commitmentInfo
- commitmentInfo or null
for nonepublic String getCreationTimestamp()
null
for nonepublic FutureReservation setCreationTimestamp(String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic String getDeploymentType()
null
for nonepublic FutureReservation setDeploymentType(String deploymentType)
deploymentType
- deploymentType or null
for nonepublic String getDescription()
null
for nonepublic FutureReservation setDescription(String description)
description
- description or null
for nonepublic Boolean getEnableEmergentMaintenance()
null
for nonepublic FutureReservation setEnableEmergentMaintenance(Boolean enableEmergentMaintenance)
enableEmergentMaintenance
- enableEmergentMaintenance 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 getPlanningStatus()
null
for nonepublic FutureReservation setPlanningStatus(String planningStatus)
planningStatus
- planningStatus or null
for nonepublic String getReservationName()
null
for nonepublic FutureReservation setReservationName(String reservationName)
reservationName
- reservationName or null
for nonepublic String getSchedulingType()
null
for nonepublic FutureReservation setSchedulingType(String schedulingType)
schedulingType
- schedulingType 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 Boolean getSpecificReservationRequired()
null
for nonepublic FutureReservation setSpecificReservationRequired(Boolean specificReservationRequired)
specificReservationRequired
- specificReservationRequired 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 com.google.api.client.json.GenericJson
public FutureReservation clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.