Interface Denied.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Denied.Builder,
,Denied> SdkBuilder<Denied.Builder,
,Denied> SdkPojo
- Enclosing class:
Denied
@Mutable
@NotThreadSafe
public static interface Denied.Builder
extends SdkPojo, CopyableBuilder<Denied.Builder,Denied>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Denied.Builder
explicitDeny
(Consumer<ExplicitDeny.Builder> explicitDeny) Information that explicitly denies the authorization.explicitDeny
(ExplicitDeny explicitDeny) Information that explicitly denies the authorization.default Denied.Builder
implicitDeny
(Consumer<ImplicitDeny.Builder> implicitDeny) Information that implicitly denies the authorization.implicitDeny
(ImplicitDeny implicitDeny) Information that implicitly denies the authorization.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaImplicitDeny.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimplicitDeny(ImplicitDeny)
.- Parameters:
implicitDeny
- a consumer that will call methods onImplicitDeny.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
explicitDeny
Information that explicitly denies the authorization.
- Parameters:
explicitDeny
- Information that explicitly denies the authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaExplicitDeny.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexplicitDeny(ExplicitDeny)
.- Parameters:
explicitDeny
- a consumer that will call methods onExplicitDeny.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-