Interface ListPoliciesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPoliciesResponse.Builder,,ListPoliciesResponse> MpaResponse.Builder,SdkBuilder<ListPoliciesResponse.Builder,,ListPoliciesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPoliciesResponse
-
Method Summary
Modifier and TypeMethodDescriptionIf present, indicates that more output is available than is included in the current response.policies(Collection<Policy> policies) An array ofPolicyobjects.policies(Consumer<Policy.Builder>... policies) An array ofPolicyobjects.An array ofPolicyobjects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mpa.model.MpaResponse.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
-
nextToken
If present, indicates that more output is available than is included in the current response. Use this value in the
NextTokenrequest parameter in a next call to the operation to get more output. You can repeat this until theNextTokenresponse element returnsnull.- Parameters:
nextToken- If present, indicates that more output is available than is included in the current response. Use this value in theNextTokenrequest parameter in a next call to the operation to get more output. You can repeat this until theNextTokenresponse element returnsnull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
An array of
Policyobjects. Contains a list of policies that define the permissions for team resources.The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.
- Parameters:
policies- An array ofPolicyobjects. Contains a list of policies that define the permissions for team resources.The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
An array of
Policyobjects. Contains a list of policies that define the permissions for team resources.The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.
- Parameters:
policies- An array ofPolicyobjects. Contains a list of policies that define the permissions for team resources.The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
An array of
Policyobjects. Contains a list of policies that define the permissions for team resources.The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.
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:
-