Interface ListPoliciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPoliciesResponse.Builder,,ListPoliciesResponse> IotResponse.Builder,SdkBuilder<ListPoliciesResponse.Builder,,ListPoliciesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPoliciesResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaPolicy.builder().When the
Consumercompletes,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.
-