Interface ListAttachedPoliciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAttachedPoliciesResponse.Builder,
,ListAttachedPoliciesResponse> IotResponse.Builder
,SdkBuilder<ListAttachedPoliciesResponse.Builder,
,ListAttachedPoliciesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListAttachedPoliciesResponse
public static interface ListAttachedPoliciesResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListAttachedPoliciesResponse.Builder,ListAttachedPoliciesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnextMarker
(String nextMarker) The token to retrieve the next set of results, or ``null`` if there are no more results.policies
(Collection<Policy> policies) The policies.policies
(Consumer<Policy.Builder>... policies) The policies.The policies.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.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
-
policies
The policies.
- Parameters:
policies
- The policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
The policies.
- Parameters:
policies
- The policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
The policies.
This is a convenience method that creates an instance of thePolicy.Builder
avoiding the need to create one manually viaPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicies(List<Policy>)
.- Parameters:
policies
- a consumer that will call methods onPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextMarker
The token to retrieve the next set of results, or ``null`` if there are no more results.
- Parameters:
nextMarker
- The token to retrieve 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.
-