public final class ShareSettings 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 |
|---|
ShareSettings() |
| Modifier and Type | Method and Description |
|---|---|
ShareSettings |
clone() |
List<String> |
getProjects()
A List of Project names to specify consumer projects for this shared-reservation.
|
String |
getShareType()
Type of sharing for this shared-reservation
|
ShareSettings |
set(String fieldName,
Object value) |
ShareSettings |
setProjects(List<String> projects)
A List of Project names to specify consumer projects for this shared-reservation.
|
ShareSettings |
setShareType(String shareType)
Type of sharing for this shared-reservation
|
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 List<String> getProjects()
null for nonepublic ShareSettings setProjects(List<String> projects)
projects - projects or null for nonepublic String getShareType()
null for nonepublic ShareSettings setShareType(String shareType)
shareType - shareType or null for nonepublic ShareSettings set(String fieldName, Object value)
set in class GenericJsonpublic ShareSettings clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.