Interface DescribeSnapshotSchedulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeSnapshotSchedulesResponse.Builder,
,DescribeSnapshotSchedulesResponse> RedshiftResponse.Builder
,SdkBuilder<DescribeSnapshotSchedulesResponse.Builder,
,DescribeSnapshotSchedulesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeSnapshotSchedulesResponse
public static interface DescribeSnapshotSchedulesResponse.Builder
extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeSnapshotSchedulesResponse.Builder,DescribeSnapshotSchedulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA value that indicates the starting point for the next set of response records in a subsequent request.snapshotSchedules
(Collection<SnapshotSchedule> snapshotSchedules) A list of SnapshotSchedules.snapshotSchedules
(Consumer<SnapshotSchedule.Builder>... snapshotSchedules) A list of SnapshotSchedules.snapshotSchedules
(SnapshotSchedule... snapshotSchedules) A list of SnapshotSchedules.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 Details
-
snapshotSchedules
DescribeSnapshotSchedulesResponse.Builder snapshotSchedules(Collection<SnapshotSchedule> snapshotSchedules) A list of SnapshotSchedules.
- Parameters:
snapshotSchedules
- A list of SnapshotSchedules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotSchedules
A list of SnapshotSchedules.
- Parameters:
snapshotSchedules
- A list of SnapshotSchedules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotSchedules
DescribeSnapshotSchedulesResponse.Builder snapshotSchedules(Consumer<SnapshotSchedule.Builder>... snapshotSchedules) A list of SnapshotSchedules.
This is a convenience method that creates an instance of theSnapshotSchedule.Builder
avoiding the need to create one manually viaSnapshotSchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnapshotSchedules(List<SnapshotSchedule>)
.- Parameters:
snapshotSchedules
- a consumer that will call methods onSnapshotSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the
marker
parameter and retrying the command. If themarker
field is empty, all response records have been retrieved for the request.- Parameters:
marker
- A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in themarker
parameter and retrying the command. If themarker
field is empty, all response records have been retrieved for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-