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.Builder
marker(String marker)
An optional parameter that specifies the starting point to return a set of response records.DescribeSnapshotCopyGrantsResponse.Builder
snapshotCopyGrants(Collection<SnapshotCopyGrant> snapshotCopyGrants)
The list ofSnapshotCopyGrant
objects.DescribeSnapshotCopyGrantsResponse.Builder
snapshotCopyGrants(Consumer<SnapshotCopyGrant.Builder>... snapshotCopyGrants)
The list ofSnapshotCopyGrant
objects.DescribeSnapshotCopyGrantsResponse.Builder
snapshotCopyGrants(SnapshotCopyGrant... snapshotCopyGrants)
The list ofSnapshotCopyGrant
objects.-
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, sdkFieldNameToField, 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
DescribeSnapshotCopyGrant
request exceed the value specified inMaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter 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 aDescribeSnapshotCopyGrant
request exceed the value specified inMaxRecords
, Amazon Web Services returns a value in theMarker
field of the response. You can retrieve the next set of response records by providing the returned marker value in theMarker
parameter 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
SnapshotCopyGrant
objects.- Parameters:
snapshotCopyGrants
- The list ofSnapshotCopyGrant
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotCopyGrants
DescribeSnapshotCopyGrantsResponse.Builder snapshotCopyGrants(SnapshotCopyGrant... snapshotCopyGrants)
The list of
SnapshotCopyGrant
objects.- Parameters:
snapshotCopyGrants
- The list ofSnapshotCopyGrant
objects.- 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 theSnapshotCopyGrant
objects.SnapshotCopyGrant.Builder
avoiding the need to create one manually viaSnapshotCopyGrant.builder()
.When the
Consumer
completes,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
)
-
-