Interface CreateSnapshotScheduleActionParameters.Builder

  • Method Details

    • namespaceName

      The name of the namespace for which you want to configure a scheduled action to create a snapshot.

      Parameters:
      namespaceName - The name of the namespace for which you want to configure a scheduled action to create a snapshot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • retentionPeriod

      CreateSnapshotScheduleActionParameters.Builder retentionPeriod(Integer retentionPeriod)

      The retention period of the snapshot created by the scheduled action.

      Parameters:
      retentionPeriod - The retention period of the snapshot created by the scheduled action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotNamePrefix

      CreateSnapshotScheduleActionParameters.Builder snapshotNamePrefix(String snapshotNamePrefix)

      A string prefix that is attached to the name of the snapshot created by the scheduled action. The final name of the snapshot is the string prefix appended by the date and time of when the snapshot was created.

      Parameters:
      snapshotNamePrefix - A string prefix that is attached to the name of the snapshot created by the scheduled action. The final name of the snapshot is the string prefix appended by the date and time of when the snapshot was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      An array of Tag objects to associate with the snapshot.

      Parameters:
      tags - An array of Tag objects to associate with the snapshot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      An array of Tag objects to associate with the snapshot.

      Parameters:
      tags - An array of Tag objects to associate with the snapshot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      An array of Tag objects to associate with the snapshot.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

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

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