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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutoSnapshotDetails.BuildercreatedAt(Instant createdAt)The timestamp when the automatic snapshot was created.AutoSnapshotDetails.Builderdate(String date)The date of the automatic snapshot inYYYY-MM-DDformat.AutoSnapshotDetails.BuilderfromAttachedDisks(Collection<AttachedDisk> fromAttachedDisks)An array of objects that describe the block storage disks attached to the instance when the automatic snapshot was created.AutoSnapshotDetails.BuilderfromAttachedDisks(Consumer<AttachedDisk.Builder>... fromAttachedDisks)An array of objects that describe the block storage disks attached to the instance when the automatic snapshot was created.AutoSnapshotDetails.BuilderfromAttachedDisks(AttachedDisk... fromAttachedDisks)An array of objects that describe the block storage disks attached to the instance when the automatic snapshot was created.AutoSnapshotDetails.Builderstatus(String status)The status of the automatic snapshot.AutoSnapshotDetails.Builderstatus(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 Detail
-
date
AutoSnapshotDetails.Builder date(String date)
The date of the automatic snapshot in
YYYY-MM-DDformat.- Parameters:
date- The date of the automatic snapshot inYYYY-MM-DDformat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
AutoSnapshotDetails.Builder createdAt(Instant 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
AutoSnapshotDetails.Builder status(String 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:
AutoSnapshotStatus,AutoSnapshotStatus
-
status
AutoSnapshotDetails.Builder status(AutoSnapshotStatus 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:
AutoSnapshotStatus,AutoSnapshotStatus
-
fromAttachedDisks
AutoSnapshotDetails.Builder fromAttachedDisks(Collection<AttachedDisk> 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
AutoSnapshotDetails.Builder fromAttachedDisks(AttachedDisk... 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
AutoSnapshotDetails.Builder 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.
This is a convenience method that creates an instance of theAttachedDisk.Builderavoiding the need to create one manually viaAttachedDisk.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fromAttachedDisks(List.) - 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:
#fromAttachedDisks(java.util.Collection)
-
-