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 Details

    • date

      The date of the automatic snapshot in YYYY-MM-DD format.

      Parameters:
      date - The date of the automatic snapshot in YYYY-MM-DD format.
      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

      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

      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 the AttachedDisk.Builder avoiding the need to create one manually via AttachedDisk.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to fromAttachedDisks(List<AttachedDisk>).

      Parameters:
      fromAttachedDisks - a consumer that will call methods on AttachedDisk.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: