Interface ListManagedDataIdentifiersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListManagedDataIdentifiersResponse.Builder,,ListManagedDataIdentifiersResponse> Macie2Response.Builder,SdkBuilder<ListManagedDataIdentifiersResponse.Builder,,ListManagedDataIdentifiersResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListManagedDataIdentifiersResponse
public static interface ListManagedDataIdentifiersResponse.Builder
extends Macie2Response.Builder, SdkPojo, CopyableBuilder<ListManagedDataIdentifiersResponse.Builder,ListManagedDataIdentifiersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn array of objects, one for each managed data identifier.items(Consumer<ManagedDataIdentifierSummary.Builder>... items) An array of objects, one for each managed data identifier.items(ManagedDataIdentifierSummary... items) An array of objects, one for each managed 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
items
An array of objects, one for each managed data identifier.
- Parameters:
items- An array of objects, one for each managed 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 managed data identifier.
- Parameters:
items- An array of objects, one for each managed data identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListManagedDataIdentifiersResponse.Builder items(Consumer<ManagedDataIdentifierSummary.Builder>... items) An array of objects, one for each managed data identifier.
This is a convenience method that creates an instance of theManagedDataIdentifierSummary.Builderavoiding the need to create one manually viaManagedDataIdentifierSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ManagedDataIdentifierSummary>).- Parameters:
items- a consumer that will call methods onManagedDataIdentifierSummary.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.
-