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
Modifier and TypeMethodDescriptionlifecyclePolicySummaryList
(Collection<LifecyclePolicySummary> lifecyclePolicySummaryList) A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.lifecyclePolicySummaryList
(Consumer<LifecyclePolicySummary.Builder>... lifecyclePolicySummaryList) A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.lifecyclePolicySummaryList
(LifecyclePolicySummary... lifecyclePolicySummaryList) A list of lifecycle policies in your Amazon Web Services account that meet the criteria specified in the request.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 Details
-
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.Builder
avoiding the need to create one manually viaLifecyclePolicySummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolifecyclePolicySummaryList(List<LifecyclePolicySummary>)
.- 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:
-
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.
-