@Generated(value="OracleSDKGenerator", comments="API Version: 20220509") public final class AwsEbsProperties extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
AWS EBS volume related properties.
Note: Objects should always be created or deserialized using the AwsEbsProperties.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the AwsEbsProperties.Builder
, which maintain a
set of all explicitly set fields called AwsEbsProperties.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
AwsEbsProperties.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AwsEbsProperties(List<VolumeAttachment> attachments,
String availabilityZone,
Boolean isEncrypted,
Integer iops,
Boolean isMultiAttachEnabled,
Integer sizeInGiBs,
String status,
List<Tag> tags,
Integer throughput,
String volumeKey,
String volumeType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AwsEbsProperties.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<VolumeAttachment> |
getAttachments()
Information about the volume attachments.
|
String |
getAvailabilityZone()
The Availability Zone for the volume.
|
Integer |
getIops()
The number of I/O operations per second.
|
Boolean |
getIsEncrypted()
Indicates whether the volume is encrypted.
|
Boolean |
getIsMultiAttachEnabled()
Indicates whether Amazon EBS Multi-Attach is enabled.
|
Integer |
getSizeInGiBs()
The size of the volume, in GiBs.
|
String |
getStatus()
The volume state.
|
List<Tag> |
getTags()
Any tags assigned to the volume.
|
Integer |
getThroughput()
The throughput that the volume supports, in MiB/s.
|
String |
getVolumeKey()
The ID of the volume.
|
String |
getVolumeType()
The volume type.
|
int |
hashCode() |
AwsEbsProperties.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"attachments","availabilityZone","isEncrypted","iops","isMultiAttachEnabled","sizeInGiBs","status","tags","throughput","volumeKey","volumeType"}) public AwsEbsProperties(List<VolumeAttachment> attachments, String availabilityZone, Boolean isEncrypted, Integer iops, Boolean isMultiAttachEnabled, Integer sizeInGiBs, String status, List<Tag> tags, Integer throughput, String volumeKey, String volumeType)
public static AwsEbsProperties.Builder builder()
Create a new builder.
public AwsEbsProperties.Builder toBuilder()
public List<VolumeAttachment> getAttachments()
Information about the volume attachments.
public String getAvailabilityZone()
The Availability Zone for the volume.
public Boolean getIsEncrypted()
Indicates whether the volume is encrypted.
public Integer getIops()
The number of I/O operations per second.
public Boolean getIsMultiAttachEnabled()
Indicates whether Amazon EBS Multi-Attach is enabled.
public Integer getSizeInGiBs()
The size of the volume, in GiBs.
public String getStatus()
The volume state.
public Integer getThroughput()
The throughput that the volume supports, in MiB/s.
public String getVolumeKey()
The ID of the volume.
public String getVolumeType()
The volume type.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.