Interface Denied.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Denied.Builder,,Denied> SdkBuilder<Denied.Builder,,Denied> SdkPojo
- Enclosing class:
Denied
-
Method Summary
Modifier and TypeMethodDescriptiondefault Denied.BuilderexplicitDeny(Consumer<ExplicitDeny.Builder> explicitDeny) Information that explicitly denies the authorization.explicitDeny(ExplicitDeny explicitDeny) Information that explicitly denies the authorization.default Denied.BuilderimplicitDeny(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaImplicitDeny.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaExplicitDeny.builder().When the
Consumercompletes,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:
-