Interface ListLifecyclePoliciesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLifecyclePoliciesResponse.Builder,ListLifecyclePoliciesResponse>,ImagebuilderResponse.Builder,SdkBuilder<ListLifecyclePoliciesResponse.Builder,ListLifecyclePoliciesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListLifecyclePoliciesResponse
public static interface ListLifecyclePoliciesResponse.Builder extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<ListLifecyclePoliciesResponse.Builder,ListLifecyclePoliciesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLifecyclePoliciesResponse.BuilderlifecyclePolicySummaryList(Collection<LifecyclePolicySummary> lifecyclePolicySummaryList)A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.ListLifecyclePoliciesResponse.BuilderlifecyclePolicySummaryList(Consumer<LifecyclePolicySummary.Builder>... lifecyclePolicySummaryList)A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.ListLifecyclePoliciesResponse.BuilderlifecyclePolicySummaryList(LifecyclePolicySummary... lifecyclePolicySummaryList)A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.ListLifecyclePoliciesResponse.BuildernextToken(String nextToken)The next token used for paginated responses.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.imagebuilder.model.ImagebuilderResponse.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
-
lifecyclePolicySummaryList
ListLifecyclePoliciesResponse.Builder lifecyclePolicySummaryList(Collection<LifecyclePolicySummary> lifecyclePolicySummaryList)
A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.
- Parameters:
lifecyclePolicySummaryList- A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecyclePolicySummaryList
ListLifecyclePoliciesResponse.Builder lifecyclePolicySummaryList(LifecyclePolicySummary... lifecyclePolicySummaryList)
A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.
- Parameters:
lifecyclePolicySummaryList- A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecyclePolicySummaryList
ListLifecyclePoliciesResponse.Builder lifecyclePolicySummaryList(Consumer<LifecyclePolicySummary.Builder>... lifecyclePolicySummaryList)
A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.
This is a convenience method that creates an instance of theLifecyclePolicySummary.Builderavoiding the need to create one manually viaLifecyclePolicySummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lifecyclePolicySummaryList(List.) - Parameters:
lifecyclePolicySummaryList- a consumer that will call methods onLifecyclePolicySummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#lifecyclePolicySummaryList(java.util.Collection)
-
nextToken
ListLifecyclePoliciesResponse.Builder nextToken(String nextToken)
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
- Parameters:
nextToken- The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-