public static interface AuthResult.Builder extends SdkPojo, CopyableBuilder<AuthResult.Builder,AuthResult>
Modifier and Type | Method and Description |
---|---|
AuthResult.Builder |
allowed(Allowed allowed)
The policies and statements that allowed the specified action.
|
default AuthResult.Builder |
allowed(Consumer<Allowed.Builder> allowed)
The policies and statements that allowed the specified action.
|
AuthResult.Builder |
authDecision(AuthDecision authDecision)
The final authorization decision of this scenario.
|
AuthResult.Builder |
authDecision(String authDecision)
The final authorization decision of this scenario.
|
AuthResult.Builder |
authInfo(AuthInfo authInfo)
Authorization information.
|
default AuthResult.Builder |
authInfo(Consumer<AuthInfo.Builder> authInfo)
Authorization information.
|
default AuthResult.Builder |
denied(Consumer<Denied.Builder> denied)
The policies and statements that denied the specified action.
|
AuthResult.Builder |
denied(Denied denied)
The policies and statements that denied the specified action.
|
AuthResult.Builder |
missingContextValues(Collection<String> missingContextValues)
Contains any missing context values found while evaluating policy.
|
AuthResult.Builder |
missingContextValues(String... missingContextValues)
Contains any missing context values found while evaluating policy.
|
copy
applyMutation, build
AuthResult.Builder authInfo(AuthInfo authInfo)
Authorization information.
authInfo
- Authorization information.default AuthResult.Builder authInfo(Consumer<AuthInfo.Builder> authInfo)
Authorization information.
This is a convenience that creates an instance of theAuthInfo.Builder
avoiding the need to create
one manually via AuthInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to authInfo(AuthInfo)
.authInfo
- a consumer that will call methods on AuthInfo.Builder
authInfo(AuthInfo)
AuthResult.Builder allowed(Allowed allowed)
The policies and statements that allowed the specified action.
allowed
- The policies and statements that allowed the specified action.default AuthResult.Builder allowed(Consumer<Allowed.Builder> allowed)
The policies and statements that allowed the specified action.
This is a convenience that creates an instance of theAllowed.Builder
avoiding the need to create one
manually via Allowed.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to allowed(Allowed)
.allowed
- a consumer that will call methods on Allowed.Builder
allowed(Allowed)
AuthResult.Builder denied(Denied denied)
The policies and statements that denied the specified action.
denied
- The policies and statements that denied the specified action.default AuthResult.Builder denied(Consumer<Denied.Builder> denied)
The policies and statements that denied the specified action.
This is a convenience that creates an instance of theDenied.Builder
avoiding the need to create one
manually via Denied.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to denied(Denied)
.denied
- a consumer that will call methods on Denied.Builder
denied(Denied)
AuthResult.Builder authDecision(String authDecision)
The final authorization decision of this scenario. Multiple statements are taken into account when determining the authorization decision. An explicit deny statement can override multiple allow statements.
authDecision
- The final authorization decision of this scenario. Multiple statements are taken into account when
determining the authorization decision. An explicit deny statement can override multiple allow
statements.AuthDecision
,
AuthDecision
AuthResult.Builder authDecision(AuthDecision authDecision)
The final authorization decision of this scenario. Multiple statements are taken into account when determining the authorization decision. An explicit deny statement can override multiple allow statements.
authDecision
- The final authorization decision of this scenario. Multiple statements are taken into account when
determining the authorization decision. An explicit deny statement can override multiple allow
statements.AuthDecision
,
AuthDecision
AuthResult.Builder missingContextValues(Collection<String> missingContextValues)
Contains any missing context values found while evaluating policy.
missingContextValues
- Contains any missing context values found while evaluating policy.AuthResult.Builder missingContextValues(String... missingContextValues)
Contains any missing context values found while evaluating policy.
missingContextValues
- Contains any missing context values found while evaluating policy.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.