Class ScheduledInstancesEbs
- All Implemented Interfaces:
Serializable,SdkPojo,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) Indicates whether some other object is "equal to" this one by SDK fields.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.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final IntegerThe size of the volume, in GiB.final StringThe volume type.Methods 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
-
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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduledInstancesEbs.Builder,ScheduledInstancesEbs> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-