public final class PreviewFeature
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 |
---|
PreviewFeature() |
Modifier and Type | Method and Description |
---|---|
PreviewFeature |
clone() |
String |
getActivationStatus()
Specifies whether the feature is enabled or disabled.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp inRFC3339 text format.
|
String |
getDescription()
[Output Only] Description of the feature.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output only] The type of the feature.
|
String |
getName()
Name of the feature.
|
PreviewFeatureRolloutOperation |
getRolloutOperation()
Rollout operation of the feature.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
PreviewFeatureStatus |
getStatus()
[Output only] Status of the feature.
|
PreviewFeature |
set(String fieldName,
Object value) |
PreviewFeature |
setActivationStatus(String activationStatus)
Specifies whether the feature is enabled or disabled.
|
PreviewFeature |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp inRFC3339 text format.
|
PreviewFeature |
setDescription(String description)
[Output Only] Description of the feature.
|
PreviewFeature |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
PreviewFeature |
setKind(String kind)
[Output only] The type of the feature.
|
PreviewFeature |
setName(String name)
Name of the feature.
|
PreviewFeature |
setRolloutOperation(PreviewFeatureRolloutOperation rolloutOperation)
Rollout operation of the feature.
|
PreviewFeature |
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
PreviewFeature |
setStatus(PreviewFeatureStatus status)
[Output only] Status of the feature.
|
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 String getActivationStatus()
null
for nonepublic PreviewFeature setActivationStatus(String activationStatus)
activationStatus
- activationStatus or null
for nonepublic String getCreationTimestamp()
null
for nonepublic PreviewFeature setCreationTimestamp(String creationTimestamp)
creationTimestamp
- creationTimestamp or null
for nonepublic String getDescription()
null
for nonepublic PreviewFeature setDescription(String description)
description
- description or null
for nonepublic BigInteger getId()
null
for nonepublic PreviewFeature setId(BigInteger id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic PreviewFeature setKind(String kind)
kind
- kind or null
for nonepublic String getName()
null
for nonepublic PreviewFeature setName(String name)
name
- name or null
for nonepublic PreviewFeatureRolloutOperation getRolloutOperation()
null
for nonepublic PreviewFeature setRolloutOperation(PreviewFeatureRolloutOperation rolloutOperation)
rolloutOperation
- rolloutOperation or null
for nonepublic String getSelfLink()
null
for nonepublic PreviewFeature setSelfLink(String selfLink)
selfLink
- selfLink or null
for nonepublic PreviewFeatureStatus getStatus()
null
for nonepublic PreviewFeature setStatus(PreviewFeatureStatus status)
status
- status or null
for nonepublic PreviewFeature set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public PreviewFeature clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.