Interface CreateSnapshotScheduleRequest.Builder

    • Method Detail

      • scheduleDefinitions

        CreateSnapshotScheduleRequest.Builder scheduleDefinitions​(Collection<String> scheduleDefinitions)

        The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".

        Parameters:
        scheduleDefinitions - The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scheduleDefinitions

        CreateSnapshotScheduleRequest.Builder scheduleDefinitions​(String... scheduleDefinitions)

        The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".

        Parameters:
        scheduleDefinitions - The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scheduleIdentifier

        CreateSnapshotScheduleRequest.Builder scheduleIdentifier​(String scheduleIdentifier)

        A unique identifier for a snapshot schedule. Only alphanumeric characters are allowed for the identifier.

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

        CreateSnapshotScheduleRequest.Builder scheduleDescription​(String scheduleDescription)

        The description of the snapshot schedule.

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

        CreateSnapshotScheduleRequest.Builder tags​(Collection<Tag> tags)

        An optional set of tags you can use to search for the schedule.

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

        CreateSnapshotScheduleRequest.Builder tags​(Tag... tags)

        An optional set of tags you can use to search for the schedule.

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

        CreateSnapshotScheduleRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        An optional set of tags you can use to search for 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

        CreateSnapshotScheduleRequest.Builder nextInvocations​(Integer nextInvocations)

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