public final class StoragePool
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
StoragePool() |
| Modifier and Type | Method and Description |
|---|---|
StoragePool |
clone() |
byte[] |
decodeLabelFingerprint()
A fingerprint for the labels being applied to this storage pool, which is essentially a hash of
the labels set used for optimistic locking.
|
StoragePool |
encodeLabelFingerprint(byte[] labelFingerprint)
A fingerprint for the labels being applied to this storage pool, which is essentially a hash of
the labels set used for optimistic locking.
|
String |
getCapacityProvisioningType()
Provisioning type of the byte capacity of the pool.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional description of this resource.
|
BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getLabelFingerprint()
A fingerprint for the labels being applied to this storage pool, which is essentially a hash of
the labels set used for optimistic locking.
|
Map<String,String> |
getLabels()
Labels to apply to this storage pool.
|
String |
getName()
Name of the resource.
|
String |
getPerformanceProvisioningType()
Provisioning type of the performance-related parameters of the pool, such as throughput and
IOPS.
|
Long |
getPoolProvisionedCapacityGb()
Size, in GiB, of the storage pool.
|
Long |
getPoolProvisionedIops()
Provisioned IOPS of the storage pool.
|
Long |
getPoolProvisionedThroughput()
Provisioned throughput of the storage pool.
|
StoragePoolResourceStatus |
getResourceStatus()
[Output Only] Status information for the storage pool resource.
|
String |
getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
String |
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
|
String |
getState()
[Output Only] The status of storage pool creation.
|
StoragePoolResourceStatus |
getStatus()
[Output Only] Status information for the storage pool resource.
|
String |
getStoragePoolType()
Type of the storage pool.
|
String |
getZone()
[Output Only] URL of the zone where the storage pool resides.
|
StoragePool |
set(String fieldName,
Object value) |
StoragePool |
setCapacityProvisioningType(String capacityProvisioningType)
Provisioning type of the byte capacity of the pool.
|
StoragePool |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
StoragePool |
setDescription(String description)
An optional description of this resource.
|
StoragePool |
setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
StoragePool |
setKind(String kind)
[Output Only] Type of the resource.
|
StoragePool |
setLabelFingerprint(String labelFingerprint)
A fingerprint for the labels being applied to this storage pool, which is essentially a hash of
the labels set used for optimistic locking.
|
StoragePool |
setLabels(Map<String,String> labels)
Labels to apply to this storage pool.
|
StoragePool |
setName(String name)
Name of the resource.
|
StoragePool |
setPerformanceProvisioningType(String performanceProvisioningType)
Provisioning type of the performance-related parameters of the pool, such as throughput and
IOPS.
|
StoragePool |
setPoolProvisionedCapacityGb(Long poolProvisionedCapacityGb)
Size, in GiB, of the storage pool.
|
StoragePool |
setPoolProvisionedIops(Long poolProvisionedIops)
Provisioned IOPS of the storage pool.
|
StoragePool |
setPoolProvisionedThroughput(Long poolProvisionedThroughput)
Provisioned throughput of the storage pool.
|
StoragePool |
setResourceStatus(StoragePoolResourceStatus resourceStatus)
[Output Only] Status information for the storage pool resource.
|
StoragePool |
setSelfLink(String selfLink)
[Output Only] Server-defined fully-qualified URL for this resource.
|
StoragePool |
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource's resource id.
|
StoragePool |
setState(String state)
[Output Only] The status of storage pool creation.
|
StoragePool |
setStatus(StoragePoolResourceStatus status)
[Output Only] Status information for the storage pool resource.
|
StoragePool |
setStoragePoolType(String storagePoolType)
Type of the storage pool.
|
StoragePool |
setZone(String zone)
[Output Only] URL of the zone where the storage pool 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 getCapacityProvisioningType()
null for nonepublic StoragePool setCapacityProvisioningType(String capacityProvisioningType)
capacityProvisioningType - capacityProvisioningType or null for nonepublic String getCreationTimestamp()
null for nonepublic StoragePool setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic StoragePool setDescription(String description)
description - description or null for nonepublic BigInteger getId()
null for nonepublic StoragePool setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic StoragePool setKind(String kind)
kind - kind or null for nonepublic String getLabelFingerprint()
null for nonedecodeLabelFingerprint()public byte[] decodeLabelFingerprint()
null for nonegetLabelFingerprint()public StoragePool setLabelFingerprint(String labelFingerprint)
labelFingerprint - labelFingerprint or null for none#encodeLabelFingerprint()public StoragePool encodeLabelFingerprint(byte[] labelFingerprint)
The value is encoded Base64 or {@code null} for none.
public Map<String,String> getLabels()
null for nonepublic StoragePool setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getName()
null for nonepublic StoragePool setName(String name)
name - name or null for nonepublic String getPerformanceProvisioningType()
null for nonepublic StoragePool setPerformanceProvisioningType(String performanceProvisioningType)
performanceProvisioningType - performanceProvisioningType or null for nonepublic Long getPoolProvisionedCapacityGb()
null for nonepublic StoragePool setPoolProvisionedCapacityGb(Long poolProvisionedCapacityGb)
poolProvisionedCapacityGb - poolProvisionedCapacityGb or null for nonepublic Long getPoolProvisionedIops()
null for nonepublic StoragePool setPoolProvisionedIops(Long poolProvisionedIops)
poolProvisionedIops - poolProvisionedIops or null for nonepublic Long getPoolProvisionedThroughput()
null for nonepublic StoragePool setPoolProvisionedThroughput(Long poolProvisionedThroughput)
poolProvisionedThroughput - poolProvisionedThroughput or null for nonepublic StoragePoolResourceStatus getResourceStatus()
null for nonepublic StoragePool setResourceStatus(StoragePoolResourceStatus resourceStatus)
resourceStatus - resourceStatus or null for nonepublic String getSelfLink()
null for nonepublic StoragePool setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic StoragePool setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic String getState()
null for nonepublic StoragePool setState(String state)
state - state or null for nonepublic StoragePoolResourceStatus getStatus()
null for nonepublic StoragePool setStatus(StoragePoolResourceStatus status)
status - status or null for nonepublic String getStoragePoolType()
null for nonepublic StoragePool setStoragePoolType(String storagePoolType)
storagePoolType - storagePoolType or null for nonepublic String getZone()
null for nonepublic StoragePool setZone(String zone)
zone - zone or null for nonepublic StoragePool set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic StoragePool clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.