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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPoliciesResponse.BuildernextMarker(String nextMarker)The marker for the next set of results, or null if there are no additional results.ListPoliciesResponse.Builderpolicies(Collection<Policy> policies)The descriptions of the policies.ListPoliciesResponse.Builderpolicies(Consumer<Policy.Builder>... policies)The descriptions of the policies.ListPoliciesResponse.Builderpolicies(Policy... 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 Detail
-
policies
ListPoliciesResponse.Builder policies(Collection<Policy> 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
ListPoliciesResponse.Builder policies(Policy... 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
ListPoliciesResponse.Builder policies(Consumer<Policy.Builder>... policies)
The descriptions of the policies.
This is a convenience method that creates an instance of thePolicy.Builderavoiding the need to create one manually viaPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#policies(List.) - 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:
#policies(java.util.Collection)
-
nextMarker
ListPoliciesResponse.Builder nextMarker(String 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.
-
-