Interface ModifySnapshotScheduleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ModifySnapshotScheduleResponse.Builder,ModifySnapshotScheduleResponse>
,RedshiftResponse.Builder
,SdkBuilder<ModifySnapshotScheduleResponse.Builder,ModifySnapshotScheduleResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ModifySnapshotScheduleResponse
public static interface ModifySnapshotScheduleResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<ModifySnapshotScheduleResponse.Builder,ModifySnapshotScheduleResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
scheduleDefinitions
ModifySnapshotScheduleResponse.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
ModifySnapshotScheduleResponse.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
ModifySnapshotScheduleResponse.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
ModifySnapshotScheduleResponse.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
ModifySnapshotScheduleResponse.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
ModifySnapshotScheduleResponse.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
ModifySnapshotScheduleResponse.Builder tags(Consumer<Tag.Builder>... tags)
An optional set of tags describing the schedule.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.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 onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
nextInvocations
ModifySnapshotScheduleResponse.Builder nextInvocations(Collection<Instant> nextInvocations)
- Parameters:
nextInvocations
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextInvocations
ModifySnapshotScheduleResponse.Builder nextInvocations(Instant... nextInvocations)
- Parameters:
nextInvocations
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedClusterCount
ModifySnapshotScheduleResponse.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
ModifySnapshotScheduleResponse.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
ModifySnapshotScheduleResponse.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
ModifySnapshotScheduleResponse.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 theClusterAssociatedToSchedule.Builder
avoiding the need to create one manually viaClusterAssociatedToSchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#associatedClusters(List
.) - Parameters:
associatedClusters
- a consumer that will call methods onClusterAssociatedToSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#associatedClusters(java.util.Collection
)
-
-