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 ofPolicy
objects.policies
(Consumer<Policy.Builder>... policies) An array ofPolicy
objects.An array ofPolicy
objects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mpa.model.MpaResponse.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, sdkFieldNameToField, sdkFields
Methods 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
NextToken
request parameter in a next call to the operation to get more output. You can repeat this until theNextToken
response element returnsnull
.- Parameters:
nextToken
- If present, indicates that more output is available than is included in the current response. Use this value in theNextToken
request parameter in a next call to the operation to get more output. You can repeat this until theNextToken
response element returnsnull
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
An array of
Policy
objects. 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 ofPolicy
objects. 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
Policy
objects. 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 ofPolicy
objects. 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
Policy
objects. 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.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:
-