Interface DescribeSnapshotCopyGrantsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSnapshotCopyGrantsResponse.Builder,DescribeSnapshotCopyGrantsResponse>,RedshiftResponse.Builder,SdkBuilder<DescribeSnapshotCopyGrantsResponse.Builder,DescribeSnapshotCopyGrantsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeSnapshotCopyGrantsResponse
public static interface DescribeSnapshotCopyGrantsResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeSnapshotCopyGrantsResponse.Builder,DescribeSnapshotCopyGrantsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeSnapshotCopyGrantsResponse.Buildermarker(String marker)An optional parameter that specifies the starting point to return a set of response records.DescribeSnapshotCopyGrantsResponse.BuildersnapshotCopyGrants(Collection<SnapshotCopyGrant> snapshotCopyGrants)The list ofSnapshotCopyGrantobjects.DescribeSnapshotCopyGrantsResponse.BuildersnapshotCopyGrants(Consumer<SnapshotCopyGrant.Builder>... snapshotCopyGrants)The list ofSnapshotCopyGrantobjects.DescribeSnapshotCopyGrantsResponse.BuildersnapshotCopyGrants(SnapshotCopyGrant... snapshotCopyGrants)The list ofSnapshotCopyGrantobjects.-
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
-
marker
DescribeSnapshotCopyGrantsResponse.Builder marker(String marker)
An optional parameter that specifies the starting point to return a set of response records. When the results of a
DescribeSnapshotCopyGrantrequest exceed the value specified inMaxRecords, Amazon Web Services returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter and retrying the request.Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
- Parameters:
marker- An optional parameter that specifies the starting point to return a set of response records. When the results of aDescribeSnapshotCopyGrantrequest exceed the value specified inMaxRecords, Amazon Web Services returns a value in theMarkerfield of the response. You can retrieve the next set of response records by providing the returned marker value in theMarkerparameter and retrying the request.Constraints: You can specify either the SnapshotCopyGrantName parameter or the Marker parameter, but not both.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotCopyGrants
DescribeSnapshotCopyGrantsResponse.Builder snapshotCopyGrants(Collection<SnapshotCopyGrant> snapshotCopyGrants)
The list of
SnapshotCopyGrantobjects.- Parameters:
snapshotCopyGrants- The list ofSnapshotCopyGrantobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotCopyGrants
DescribeSnapshotCopyGrantsResponse.Builder snapshotCopyGrants(SnapshotCopyGrant... snapshotCopyGrants)
The list of
SnapshotCopyGrantobjects.- Parameters:
snapshotCopyGrants- The list ofSnapshotCopyGrantobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotCopyGrants
DescribeSnapshotCopyGrantsResponse.Builder snapshotCopyGrants(Consumer<SnapshotCopyGrant.Builder>... snapshotCopyGrants)
The list of
This is a convenience method that creates an instance of theSnapshotCopyGrantobjects.SnapshotCopyGrant.Builderavoiding the need to create one manually viaSnapshotCopyGrant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#snapshotCopyGrants(List.) - Parameters:
snapshotCopyGrants- a consumer that will call methods onSnapshotCopyGrant.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#snapshotCopyGrants(java.util.Collection)
-
-