Interface ListPoliciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListPoliciesResponse.Builder,
,ListPoliciesResponse> IotResponse.Builder
,SdkBuilder<ListPoliciesResponse.Builder,
,ListPoliciesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListPoliciesResponse
public static interface ListPoliciesResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListPoliciesResponse.Builder,ListPoliciesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnextMarker
(String nextMarker) The marker for the next set of results, or null if there are no additional results.policies
(Collection<Policy> policies) The descriptions of the policies.policies
(Consumer<Policy.Builder>... policies) The descriptions of the policies.The descriptions of 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 descriptions of the policies.
- Parameters:
policies
- The descriptions of the policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
The descriptions of the policies.
- Parameters:
policies
- The descriptions of the policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
The descriptions of 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 marker for the next set of results, or null if there are no additional results.
- Parameters:
nextMarker
- The marker for the next set of results, or null if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-