Interface GetRequestAuthorizationDetailsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRequestAuthorizationDetailsResponse.Builder,,GetRequestAuthorizationDetailsResponse> IamToolboxResponse.Builder,SdkBuilder<GetRequestAuthorizationDetailsResponse.Builder,,GetRequestAuthorizationDetailsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetRequestAuthorizationDetailsResponse
-
Method Summary
Modifier and TypeMethodDescriptionevaluations(Collection<Evaluation> evaluations) The list of evaluations for this request.evaluations(Consumer<Evaluation.Builder>... evaluations) The list of evaluations for this request.evaluations(Evaluation... evaluations) The list of evaluations for this request.The pagination token for retrieving the next page of evaluations.policies(Collection<PolicyInfo> policies) The list of policies that were evaluated.policies(Consumer<PolicyInfo.Builder>... policies) The list of policies that were evaluated.policies(PolicyInfo... policies) The list of policies that were evaluated.requestContext(Map<String, Document> requestContext) The request context is the set of context keys and values that apply to the entire request and are shared by all evaluations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iamtoolbox.model.IamToolboxResponse.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
-
requestContext
The request context is the set of context keys and values that apply to the entire request and are shared by all evaluations.
- Parameters:
requestContext- The request context is the set of context keys and values that apply to the entire request and are shared by all evaluations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluations
The list of evaluations for this request. Each evaluation shows how a single action and resource pair was evaluated. This includes the context, the effect, and any policies that matched.
- Parameters:
evaluations- The list of evaluations for this request. Each evaluation shows how a single action and resource pair was evaluated. This includes the context, the effect, and any policies that matched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluations
The list of evaluations for this request. Each evaluation shows how a single action and resource pair was evaluated. This includes the context, the effect, and any policies that matched.
- Parameters:
evaluations- The list of evaluations for this request. Each evaluation shows how a single action and resource pair was evaluated. This includes the context, the effect, and any policies that matched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluations
GetRequestAuthorizationDetailsResponse.Builder evaluations(Consumer<Evaluation.Builder>... evaluations) The list of evaluations for this request. Each evaluation shows how a single action and resource pair was evaluated. This includes the context, the effect, and any policies that matched.
This is a convenience method that creates an instance of theEvaluation.Builderavoiding the need to create one manually viaEvaluation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluations(List<Evaluation>).- Parameters:
evaluations- a consumer that will call methods onEvaluation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policies
The list of policies that were evaluated.
- Parameters:
policies- The list of policies that were evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
The list of policies that were evaluated.
- Parameters:
policies- The list of policies that were evaluated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policies
The list of policies that were evaluated.
This is a convenience method that creates an instance of thePolicyInfo.Builderavoiding the need to create one manually viaPolicyInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicies(List<PolicyInfo>).- Parameters:
policies- a consumer that will call methods onPolicyInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token for retrieving the next page of evaluations. This value is absent when there are no more results.
- Parameters:
nextToken- The pagination token for retrieving the next page of evaluations. This value is absent when there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-