Interface Condition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Condition.Builder,,Condition> SdkBuilder<Condition.Builder,,Condition> SdkPojo
- Enclosing class:
Condition
@Mutable
@NotThreadSafe
public static interface Condition.Builder
extends SdkPojo, CopyableBuilder<Condition.Builder,Condition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Condition.BuildermatchPaths(Consumer<MatchPaths.Builder> matchPaths) A condition that matches on the request path.matchPaths(MatchPaths matchPaths) A condition that matches on the request path.default Condition.BuildermatchPrincipals(Consumer<MatchPrincipals.Builder> matchPrincipals) A condition that matches on the identity of the caller making the request.matchPrincipals(MatchPrincipals matchPrincipals) A condition that matches on the identity of the caller making the request.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
-
matchPrincipals
A condition that matches on the identity of the caller making the request.
- Parameters:
matchPrincipals- A condition that matches on the identity of the caller making the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchPrincipals
A condition that matches on the identity of the caller making the request.
This is a convenience method that creates an instance of theMatchPrincipals.Builderavoiding the need to create one manually viaMatchPrincipals.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatchPrincipals(MatchPrincipals).- Parameters:
matchPrincipals- a consumer that will call methods onMatchPrincipals.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchPaths
A condition that matches on the request path.
- Parameters:
matchPaths- A condition that matches on the request path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchPaths
A condition that matches on the request path.
This is a convenience method that creates an instance of theMatchPaths.Builderavoiding the need to create one manually viaMatchPaths.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatchPaths(MatchPaths).- Parameters:
matchPaths- a consumer that will call methods onMatchPaths.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-