public static class Reservation.Builder extends Object
Modifier and Type | Method and Description |
---|---|
Reservation |
build() |
Reservation.Builder |
clone() |
String |
getCommitment()
[OutputOnly] Full or partial URL to a parent commitment.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
String |
getId()
[Output Only] The unique identifier for the resource.
|
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 |
getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
AllocationSpecificSKUReservation |
getSpecificReservation()
Reservation for instances with specific machine shapes.
|
Boolean |
getSpecificReservationRequired()
Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation.
|
String |
getStatus()
[Output Only] The status of the reservation.
|
String |
getZone()
Zone in which the reservation resides.
|
Reservation.Builder |
mergeFrom(Reservation other) |
Reservation.Builder |
setCommitment(String commitment)
[OutputOnly] Full or partial URL to a parent commitment.
|
Reservation.Builder |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Reservation.Builder |
setDescription(String description)
An optional description of this resource.
|
Reservation.Builder |
setId(String id)
[Output Only] The unique identifier for the resource.
|
Reservation.Builder |
setKind(String kind)
[Output Only] Type of the resource.
|
Reservation.Builder |
setName(String name)
The name of the resource, provided by the client when initially creating the resource.
|
Reservation.Builder |
setSelfLink(String selfLink)
[Output Only] Server-defined fully-qualified URL for this resource.
|
Reservation.Builder |
setSpecificReservation(AllocationSpecificSKUReservation specificReservation)
Reservation for instances with specific machine shapes.
|
Reservation.Builder |
setSpecificReservationRequired(Boolean specificReservationRequired)
Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation.
|
Reservation.Builder |
setStatus(String status)
[Output Only] The status of the reservation.
|
Reservation.Builder |
setZone(String zone)
Zone in which the reservation resides.
|
public Reservation.Builder mergeFrom(Reservation other)
public String getCommitment()
public Reservation.Builder setCommitment(String commitment)
public String getCreationTimestamp()
public Reservation.Builder setCreationTimestamp(String creationTimestamp)
public String getDescription()
public Reservation.Builder setDescription(String description)
public String getId()
public Reservation.Builder setId(String id)
public String getKind()
public Reservation.Builder setKind(String kind)
public String getName()
public Reservation.Builder setName(String name)
public String getSelfLink()
public Reservation.Builder setSelfLink(String selfLink)
public AllocationSpecificSKUReservation getSpecificReservation()
public Reservation.Builder setSpecificReservation(AllocationSpecificSKUReservation specificReservation)
public Boolean getSpecificReservationRequired()
public Reservation.Builder setSpecificReservationRequired(Boolean specificReservationRequired)
public String getStatus()
public Reservation.Builder setStatus(String status)
public String getZone()
public Reservation.Builder setZone(String zone)
public Reservation build()
public Reservation.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.