Package com.oracle.bmc.cloudbridge.model
Class AwsEbsProperties
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudbridge.model.AwsEbsProperties
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220509") public final class AwsEbsProperties extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAWS EBS volume related properties.
Note: Objects should always be created or deserialized using theAwsEbsProperties.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 theAwsEbsProperties.Builder, which maintain a set of all explicitly set fields calledAwsEbsProperties.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAwsEbsProperties.Builder
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsEbsProperties.Builderbuilder()Create a new builder.booleanequals(Object o)List<VolumeAttachment>getAttachments()Information about the volume attachments.StringgetAvailabilityZone()The Availability Zone for the volume.IntegergetIops()The number of I/O operations per second.BooleangetIsEncrypted()Indicates whether the volume is encrypted.BooleangetIsMultiAttachEnabled()Indicates whether Amazon EBS Multi-Attach is enabled.IntegergetSizeInGiBs()The size of the volume, in GiBs.StringgetStatus()The volume state.List<Tag>getTags()Any tags assigned to the volume.IntegergetThroughput()The throughput that the volume supports, in MiB/s.StringgetVolumeKey()The ID of the volume.StringgetVolumeType()The volume type.inthashCode()AwsEbsProperties.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
AwsEbsProperties
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static AwsEbsProperties.Builder builder()
Create a new builder.
-
toBuilder
public AwsEbsProperties.Builder toBuilder()
-
getAttachments
public List<VolumeAttachment> getAttachments()
Information about the volume attachments.- Returns:
- the value
-
getAvailabilityZone
public String getAvailabilityZone()
The Availability Zone for the volume.- Returns:
- the value
-
getIsEncrypted
public Boolean getIsEncrypted()
Indicates whether the volume is encrypted.- Returns:
- the value
-
getIops
public Integer getIops()
The number of I/O operations per second.- Returns:
- the value
-
getIsMultiAttachEnabled
public Boolean getIsMultiAttachEnabled()
Indicates whether Amazon EBS Multi-Attach is enabled.- Returns:
- the value
-
getSizeInGiBs
public Integer getSizeInGiBs()
The size of the volume, in GiBs.- Returns:
- the value
-
getStatus
public String getStatus()
The volume state.- Returns:
- the value
-
getThroughput
public Integer getThroughput()
The throughput that the volume supports, in MiB/s.- Returns:
- the value
-
getVolumeKey
public String getVolumeKey()
The ID of the volume.- Returns:
- the value
-
getVolumeType
public String getVolumeType()
The volume type.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-