Interface AutoSnapshotDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutoSnapshotDetails.Builder,
,AutoSnapshotDetails> SdkBuilder<AutoSnapshotDetails.Builder,
,AutoSnapshotDetails> SdkPojo
- Enclosing class:
AutoSnapshotDetails
public static interface AutoSnapshotDetails.Builder
extends SdkPojo, CopyableBuilder<AutoSnapshotDetails.Builder,AutoSnapshotDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the automatic snapshot was created.The date of the automatic snapshot inYYYY-MM-DD
format.fromAttachedDisks
(Collection<AttachedDisk> fromAttachedDisks) An array of objects that describe the block storage disks attached to the instance when the automatic snapshot was created.fromAttachedDisks
(Consumer<AttachedDisk.Builder>... fromAttachedDisks) An array of objects that describe the block storage disks attached to the instance when the automatic snapshot was created.fromAttachedDisks
(AttachedDisk... fromAttachedDisks) An array of objects that describe the block storage disks attached to the instance when the automatic snapshot was created.The status of the automatic snapshot.status
(AutoSnapshotStatus status) The status of the automatic snapshot.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
date
The date of the automatic snapshot in
YYYY-MM-DD
format.- Parameters:
date
- The date of the automatic snapshot inYYYY-MM-DD
format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the automatic snapshot was created.
- Parameters:
createdAt
- The timestamp when the automatic snapshot was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the automatic snapshot.
- Parameters:
status
- The status of the automatic snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the automatic snapshot.
- Parameters:
status
- The status of the automatic snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fromAttachedDisks
An array of objects that describe the block storage disks attached to the instance when the automatic snapshot was created.
- Parameters:
fromAttachedDisks
- An array of objects that describe the block storage disks attached to the instance when the automatic snapshot was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromAttachedDisks
An array of objects that describe the block storage disks attached to the instance when the automatic snapshot was created.
- Parameters:
fromAttachedDisks
- An array of objects that describe the block storage disks attached to the instance when the automatic snapshot was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromAttachedDisks
An array of objects that describe the block storage disks attached to the instance when the automatic snapshot was created.
This is a convenience method that creates an instance of theAttachedDisk.Builder
avoiding the need to create one manually viaAttachedDisk.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofromAttachedDisks(List<AttachedDisk>)
.- Parameters:
fromAttachedDisks
- a consumer that will call methods onAttachedDisk.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-