public static interface AutoSnapshotDetails.Builder extends SdkPojo, CopyableBuilder<AutoSnapshotDetails.Builder,AutoSnapshotDetails>
Modifier and Type | Method and Description |
---|---|
AutoSnapshotDetails.Builder |
createdAt(Instant createdAt)
The timestamp when the automatic snapshot was created.
|
AutoSnapshotDetails.Builder |
date(String date)
The date of the automatic snapshot in
YYYY-MM-DD format. |
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.
|
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.
|
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.
|
AutoSnapshotDetails.Builder |
status(AutoSnapshotStatus status)
The status of the automatic snapshot.
|
AutoSnapshotDetails.Builder |
status(String status)
The status of the automatic snapshot.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
AutoSnapshotDetails.Builder date(String date)
The date of the automatic snapshot in YYYY-MM-DD
format.
date
- The date of the automatic snapshot in YYYY-MM-DD
format.AutoSnapshotDetails.Builder createdAt(Instant createdAt)
The timestamp when the automatic snapshot was created.
createdAt
- The timestamp when the automatic snapshot was created.AutoSnapshotDetails.Builder status(String status)
The status of the automatic snapshot.
status
- The status of the automatic snapshot.AutoSnapshotStatus
,
AutoSnapshotStatus
AutoSnapshotDetails.Builder status(AutoSnapshotStatus status)
The status of the automatic snapshot.
status
- The status of the automatic snapshot.AutoSnapshotStatus
,
AutoSnapshotStatus
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.
fromAttachedDisks
- An array of objects that describe the block storage disks attached to the instance when the automatic
snapshot was created.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.
fromAttachedDisks
- An array of objects that describe the block storage disks attached to the instance when the automatic
snapshot was created.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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #fromAttachedDisks(List)
.fromAttachedDisks
- a consumer that will call methods on List.Builder
#fromAttachedDisks(List)