Interface ListCustomDataIdentifiersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCustomDataIdentifiersResponse.Builder,,ListCustomDataIdentifiersResponse> Macie2Response.Builder,SdkBuilder<ListCustomDataIdentifiersResponse.Builder,,ListCustomDataIdentifiersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCustomDataIdentifiersResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaCustomDataIdentifierSummary.builder().When the
Consumercompletes,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.
-