public static interface Denied.Builder extends SdkPojo, CopyableBuilder<Denied.Builder,Denied>
Modifier and Type | Method and Description |
---|---|
default Denied.Builder |
explicitDeny(Consumer<ExplicitDeny.Builder> explicitDeny)
Information that explicitly denies the authorization.
|
Denied.Builder |
explicitDeny(ExplicitDeny explicitDeny)
Information that explicitly denies the authorization.
|
default Denied.Builder |
implicitDeny(Consumer<ImplicitDeny.Builder> implicitDeny)
Information that implicitly denies the authorization.
|
Denied.Builder |
implicitDeny(ImplicitDeny implicitDeny)
Information that implicitly denies the authorization.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Denied.Builder implicitDeny(ImplicitDeny implicitDeny)
Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.
implicitDeny
- Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow
an action on a resource it is considered an implicit deny.default Denied.Builder implicitDeny(Consumer<ImplicitDeny.Builder> implicitDeny)
Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.
This is a convenience method that creates an instance of theImplicitDeny.Builder
avoiding the need
to create one manually via ImplicitDeny.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to implicitDeny(ImplicitDeny)
.implicitDeny
- a consumer that will call methods on ImplicitDeny.Builder
implicitDeny(ImplicitDeny)
Denied.Builder explicitDeny(ExplicitDeny explicitDeny)
Information that explicitly denies the authorization.
explicitDeny
- Information that explicitly denies the authorization.default Denied.Builder explicitDeny(Consumer<ExplicitDeny.Builder> explicitDeny)
Information that explicitly denies the authorization.
This is a convenience method that creates an instance of theExplicitDeny.Builder
avoiding the need
to create one manually via ExplicitDeny.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to explicitDeny(ExplicitDeny)
.explicitDeny
- a consumer that will call methods on ExplicitDeny.Builder
explicitDeny(ExplicitDeny)
Copyright © 2022. All rights reserved.