Interface CreateSnapshotScheduleRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateSnapshotScheduleRequest.Builder,CreateSnapshotScheduleRequest>, RedshiftRequest.Builder, SdkBuilder<CreateSnapshotScheduleRequest.Builder,CreateSnapshotScheduleRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateSnapshotScheduleRequest

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

    • 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

      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

      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

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

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

      CreateSnapshotScheduleRequest.Builder nextInvocations(Integer nextInvocations)

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

      CreateSnapshotScheduleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.