Interface ListAllowListsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAllowListsResponse.Builder,ListAllowListsResponse>,Macie2Response.Builder,SdkBuilder<ListAllowListsResponse.Builder,ListAllowListsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAllowListsResponse
public static interface ListAllowListsResponse.Builder extends Macie2Response.Builder, SdkPojo, CopyableBuilder<ListAllowListsResponse.Builder,ListAllowListsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAllowListsResponse.BuilderallowLists(Collection<AllowListSummary> allowLists)An array of objects, one for each allow list.ListAllowListsResponse.BuilderallowLists(Consumer<AllowListSummary.Builder>... allowLists)An array of objects, one for each allow list.ListAllowListsResponse.BuilderallowLists(AllowListSummary... allowLists)An array of objects, one for each allow list.ListAllowListsResponse.BuildernextToken(String nextToken)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 Detail
-
allowLists
ListAllowListsResponse.Builder allowLists(Collection<AllowListSummary> allowLists)
An array of objects, one for each allow list.
- Parameters:
allowLists- An array of objects, one for each allow list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowLists
ListAllowListsResponse.Builder allowLists(AllowListSummary... allowLists)
An array of objects, one for each allow list.
- Parameters:
allowLists- An array of objects, one for each allow list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowLists
ListAllowListsResponse.Builder allowLists(Consumer<AllowListSummary.Builder>... allowLists)
An array of objects, one for each allow list.
This is a convenience method that creates an instance of theAllowListSummary.Builderavoiding the need to create one manually viaAllowListSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#allowLists(List.) - Parameters:
allowLists- a consumer that will call methods onAllowListSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#allowLists(java.util.Collection)
-
nextToken
ListAllowListsResponse.Builder nextToken(String 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.
-
-