Interface SnapshotSchedule.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SnapshotSchedule.Builder,SnapshotSchedule>, SdkBuilder<SnapshotSchedule.Builder,SnapshotSchedule>, SdkPojo
Enclosing class:
SnapshotSchedule

public static interface SnapshotSchedule.Builder extends SdkPojo, CopyableBuilder<SnapshotSchedule.Builder,SnapshotSchedule>
  • Method Details

    • scheduleDefinitions

      SnapshotSchedule.Builder scheduleDefinitions(Collection<String> scheduleDefinitions)

      A list of ScheduleDefinitions.

      Parameters:
      scheduleDefinitions - A list of ScheduleDefinitions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduleDefinitions

      SnapshotSchedule.Builder scheduleDefinitions(String... scheduleDefinitions)

      A list of ScheduleDefinitions.

      Parameters:
      scheduleDefinitions - A list of ScheduleDefinitions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduleIdentifier

      SnapshotSchedule.Builder scheduleIdentifier(String scheduleIdentifier)

      A unique identifier for the schedule.

      Parameters:
      scheduleIdentifier - A unique identifier for the schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduleDescription

      SnapshotSchedule.Builder scheduleDescription(String scheduleDescription)

      The description of the schedule.

      Parameters:
      scheduleDescription - The description of the schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      An optional set of tags describing the schedule.

      Parameters:
      tags - An optional set of tags describing the schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      An optional set of tags describing the schedule.

      Parameters:
      tags - An optional set of tags describing the schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      An optional set of tags describing the schedule.

      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:
    • nextInvocations

      SnapshotSchedule.Builder nextInvocations(Collection<Instant> nextInvocations)

      Parameters:
      nextInvocations -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextInvocations

      SnapshotSchedule.Builder nextInvocations(Instant... nextInvocations)

      Parameters:
      nextInvocations -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedClusterCount

      SnapshotSchedule.Builder associatedClusterCount(Integer associatedClusterCount)

      The number of clusters associated with the schedule.

      Parameters:
      associatedClusterCount - The number of clusters associated with the schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedClusters

      SnapshotSchedule.Builder associatedClusters(Collection<ClusterAssociatedToSchedule> associatedClusters)

      A list of clusters associated with the schedule. A maximum of 100 clusters is returned.

      Parameters:
      associatedClusters - A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedClusters

      SnapshotSchedule.Builder associatedClusters(ClusterAssociatedToSchedule... associatedClusters)

      A list of clusters associated with the schedule. A maximum of 100 clusters is returned.

      Parameters:
      associatedClusters - A list of clusters associated with the schedule. A maximum of 100 clusters is returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedClusters

      SnapshotSchedule.Builder associatedClusters(Consumer<ClusterAssociatedToSchedule.Builder>... associatedClusters)

      A list of clusters associated with the schedule. A maximum of 100 clusters is returned.

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

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

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