Interface ListCustomDataIdentifiersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCustomDataIdentifiersResponse.Builder,
,ListCustomDataIdentifiersResponse> Macie2Response.Builder
,SdkBuilder<ListCustomDataIdentifiersResponse.Builder,
,ListCustomDataIdentifiersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCustomDataIdentifiersResponse
public static interface ListCustomDataIdentifiersResponse.Builder
extends Macie2Response.Builder, SdkPojo, CopyableBuilder<ListCustomDataIdentifiersResponse.Builder,ListCustomDataIdentifiersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn array of objects, one for each custom data identifier.items
(Consumer<CustomDataIdentifierSummary.Builder>... items) An array of objects, one for each custom data identifier.items
(CustomDataIdentifierSummary... items) An array of objects, one for each custom data identifier.The string to use in a subsequent request to get the next page of results in a paginated response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.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
-
items
An array of objects, one for each custom data identifier.
- Parameters:
items
- An array of objects, one for each custom data identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
An array of objects, one for each custom data identifier.
- Parameters:
items
- An array of objects, one for each custom data identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListCustomDataIdentifiersResponse.Builder items(Consumer<CustomDataIdentifierSummary.Builder>... items) An array of objects, one for each custom data identifier.
This is a convenience method that creates an instance of theCustomDataIdentifierSummary.Builder
avoiding the need to create one manually viaCustomDataIdentifierSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<CustomDataIdentifierSummary>)
.- Parameters:
items
- a consumer that will call methods onCustomDataIdentifierSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
- Parameters:
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-