Interface ListS3ResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListS3ResourcesResponse.Builder,
,ListS3ResourcesResponse> MacieResponse.Builder
,SdkBuilder<ListS3ResourcesResponse.Builder,
,ListS3ResourcesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListS3ResourcesResponse
public static interface ListS3ResourcesResponse.Builder
extends MacieResponse.Builder, SdkPojo, CopyableBuilder<ListS3ResourcesResponse.Builder,ListS3ResourcesResponse>
-
Method Summary
Modifier and TypeMethodDescription(Discontinued) When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for thenextToken
parameter in a subsequent pagination request.s3Resources
(Collection<S3ResourceClassification> s3Resources) (Discontinued) A list of the associated S3 resources returned by the action.s3Resources
(Consumer<S3ResourceClassification.Builder>... s3Resources) (Discontinued) A list of the associated S3 resources returned by the action.s3Resources
(S3ResourceClassification... s3Resources) (Discontinued) A list of the associated S3 resources returned by the action.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.macie.model.MacieResponse.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
-
s3Resources
(Discontinued) A list of the associated S3 resources returned by the action.
- Parameters:
s3Resources
- (Discontinued) A list of the associated S3 resources returned by the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Resources
(Discontinued) A list of the associated S3 resources returned by the action.
- Parameters:
s3Resources
- (Discontinued) A list of the associated S3 resources returned by the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Resources
ListS3ResourcesResponse.Builder s3Resources(Consumer<S3ResourceClassification.Builder>... s3Resources) (Discontinued) A list of the associated S3 resources returned by the action.
This is a convenience method that creates an instance of theS3ResourceClassification.Builder
avoiding the need to create one manually viaS3ResourceClassification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Resources(List<S3ResourceClassification>)
.- Parameters:
s3Resources
- a consumer that will call methods onS3ResourceClassification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
(Discontinued) When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the
nextToken
parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.- Parameters:
nextToken
- (Discontinued) When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for thenextToken
parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-