Interface Denied.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Denied.Builder,Denied>
,SdkBuilder<Denied.Builder,Denied>
,SdkPojo
- Enclosing class:
- Denied
public static interface Denied.Builder extends SdkPojo, CopyableBuilder<Denied.Builder,Denied>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.-
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, sdkFields
-
-
-
-
Method Detail
-
implicitDeny
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.
- 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
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 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:
implicitDeny(ImplicitDeny)
-
explicitDeny
Denied.Builder explicitDeny(ExplicitDeny 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
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 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:
explicitDeny(ExplicitDeny)
-
-