Interface ListResiliencyPoliciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListResiliencyPoliciesResponse.Builder,
,ListResiliencyPoliciesResponse> ResiliencehubResponse.Builder
,SdkBuilder<ListResiliencyPoliciesResponse.Builder,
,ListResiliencyPoliciesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListResiliencyPoliciesResponse
@Mutable
@NotThreadSafe
public static interface ListResiliencyPoliciesResponse.Builder
extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<ListResiliencyPoliciesResponse.Builder,ListResiliencyPoliciesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionToken for the next set of results, or null if there are no more results.resiliencyPolicies
(Collection<ResiliencyPolicy> resiliencyPolicies) The resiliency policies for the Resilience Hub applications.resiliencyPolicies
(Consumer<ResiliencyPolicy.Builder>... resiliencyPolicies) The resiliency policies for the Resilience Hub applications.resiliencyPolicies
(ResiliencyPolicy... resiliencyPolicies) The resiliency policies for the Resilience Hub applications.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
Token for the next set of results, or null if there are no more results.
- Parameters:
nextToken
- Token for the next set of results, or null if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resiliencyPolicies
ListResiliencyPoliciesResponse.Builder resiliencyPolicies(Collection<ResiliencyPolicy> resiliencyPolicies) The resiliency policies for the Resilience Hub applications.
- Parameters:
resiliencyPolicies
- The resiliency policies for the Resilience Hub applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resiliencyPolicies
The resiliency policies for the Resilience Hub applications.
- Parameters:
resiliencyPolicies
- The resiliency policies for the Resilience Hub applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resiliencyPolicies
ListResiliencyPoliciesResponse.Builder resiliencyPolicies(Consumer<ResiliencyPolicy.Builder>... resiliencyPolicies) The resiliency policies for the Resilience Hub applications.
This is a convenience method that creates an instance of theResiliencyPolicy.Builder
avoiding the need to create one manually viaResiliencyPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresiliencyPolicies(List<ResiliencyPolicy>)
.- Parameters:
resiliencyPolicies
- a consumer that will call methods onResiliencyPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-