Interface ListFiltersResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListFiltersResponse.Builder,ListFiltersResponse>,Inspector2Response.Builder,SdkBuilder<ListFiltersResponse.Builder,ListFiltersResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListFiltersResponse
public static interface ListFiltersResponse.Builder extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<ListFiltersResponse.Builder,ListFiltersResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFiltersResponse.Builderfilters(Collection<Filter> filters)Contains details on the filters associated with your account.ListFiltersResponse.Builderfilters(Consumer<Filter.Builder>... filters)Contains details on the filters associated with your account.ListFiltersResponse.Builderfilters(Filter... filters)Contains details on the filters associated with your account.ListFiltersResponse.BuildernextToken(String nextToken)A token to use for paginating results that are returned in the response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.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
-
filters
ListFiltersResponse.Builder filters(Collection<Filter> filters)
Contains details on the filters associated with your account.
- Parameters:
filters- Contains details on the filters associated with your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListFiltersResponse.Builder filters(Filter... filters)
Contains details on the filters associated with your account.
- Parameters:
filters- Contains details on the filters associated with your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListFiltersResponse.Builder filters(Consumer<Filter.Builder>... filters)
Contains details on the filters associated with your account.
This is a convenience method that creates an instance of theFilter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
nextToken
ListFiltersResponse.Builder nextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the
NextTokenvalue returned from the previous request to continue listing results after the first page.- Parameters:
nextToken- A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use theNextTokenvalue returned from the previous request to continue listing results after the first page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-