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 Boolean
Indicates whether the volume is deleted on instance termination.final Boolean
Indicates whether the volume is encrypted.final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final Integer
iops()
The number of I/O operations per second (IOPS) to provision for agp3
,io1
, orio2
volume.static Class
<? extends ScheduledInstancesEbs.Builder> final String
The ID of the snapshot.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Integer
The size of the volume, in GiB.final String
The 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
, orio2
volume.- Returns:
- The number of I/O operations per second (IOPS) to provision for a
gp3
,io1
, orio2
volume.
-
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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ScheduledInstancesEbs.Builder,
ScheduledInstancesEbs> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
-