Interface GetRequestAuthorizationPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetRequestAuthorizationPolicyRequest.Builder,,GetRequestAuthorizationPolicyRequest> IamToolboxRequest.Builder,SdkBuilder<GetRequestAuthorizationPolicyRequest.Builder,,GetRequestAuthorizationPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetRequestAuthorizationPolicyRequest
@Mutable
@NotThreadSafe
public static interface GetRequestAuthorizationPolicyRequest.Builder
extends IamToolboxRequest.Builder, SdkPojo, CopyableBuilder<GetRequestAuthorizationPolicyRequest.Builder,GetRequestAuthorizationPolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationId(String authorizationId) The authorization ID received in the access denied error message.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The URI of the policy to retrieve.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iamtoolbox.model.IamToolboxRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
authorizationId
The authorization ID received in the access denied error message. This ID identifies the request whose evaluated policy you want to retrieve.
- Parameters:
authorizationId- The authorization ID received in the access denied error message. This ID identifies the request whose evaluated policy you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyUri
The URI of the policy to retrieve. Use the
urivalue from thepolicieslist returned byGetRequestAuthorizationDetailsfor the same authorization ID.- Parameters:
policyUri- The URI of the policy to retrieve. Use theurivalue from thepolicieslist returned byGetRequestAuthorizationDetailsfor the same authorization ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetRequestAuthorizationPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetRequestAuthorizationPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-