Class ScheduledInstancesEbs
java.lang.Object
software.amazon.awssdk.services.ec2.model.ScheduledInstancesEbs
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScheduledInstancesEbs.Builder,ScheduledInstancesEbs>
@Generated("software.amazon.awssdk:codegen")
public final class ScheduledInstancesEbs
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<ScheduledInstancesEbs.Builder,ScheduledInstancesEbs>
Describes an EBS volume for a Scheduled Instance.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final BooleanIndicates whether the volume is deleted on instance termination.final BooleanIndicates whether the volume is encrypted.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Integeriops()The number of I/O operations per second (IOPS) to provision for agp3,io1, orio2volume.static Class<? extends ScheduledInstancesEbs.Builder>final StringThe ID of the snapshot.final StringtoString()Returns a string representation of this object.final IntegerThe size of the volume, in GiB.final StringThe volume type.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
deleteOnTermination
Indicates whether the volume is deleted on instance termination.
- Returns:
- Indicates whether the volume is deleted on instance termination.
-
encrypted
Indicates whether the volume is encrypted. You can attached encrypted volumes only to instances that support them.
- Returns:
- Indicates whether the volume is encrypted. You can attached encrypted volumes only to instances that support them.
-
iops
The number of I/O operations per second (IOPS) to provision for a
gp3,io1, orio2volume.- Returns:
- The number of I/O operations per second (IOPS) to provision for a
gp3,io1, orio2volume.
-
snapshotId
The ID of the snapshot.
- Returns:
- The ID of the snapshot.
-
volumeSize
The size of the volume, in GiB.
Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.
- Returns:
- The size of the volume, in GiB.
Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.
-
volumeType
The volume type.
Default:
gp2- Returns:
- The volume type.
Default:
gp2
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduledInstancesEbs.Builder,ScheduledInstancesEbs>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-