Interface SnapshotSchedule.Builder

    • Method Detail

      • 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

        SnapshotSchedule.Builder tags​(Collection<Tag> 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

        SnapshotSchedule.Builder tags​(Tag... 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

        SnapshotSchedule.Builder tags​(Consumer<Tag.Builder>... 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).

        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:
        #tags(java.util.Collection)
      • 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.