Interface MatchPrincipals.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MatchPrincipals.Builder,,MatchPrincipals> SdkBuilder<MatchPrincipals.Builder,,MatchPrincipals> SdkPojo
- Enclosing class:
MatchPrincipals
@Mutable
@NotThreadSafe
public static interface MatchPrincipals.Builder
extends SdkPojo, CopyableBuilder<MatchPrincipals.Builder,MatchPrincipals>
-
Method Summary
Modifier and TypeMethodDescriptionanyOf(Collection<MatchPrincipalEntry> anyOf) A list of principal entries.anyOf(Consumer<MatchPrincipalEntry.Builder>... anyOf) A list of principal entries.anyOf(MatchPrincipalEntry... anyOf) A list of principal entries.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
-
anyOf
A list of principal entries. The condition is met if any of the entries match the caller's identity.
- Parameters:
anyOf- A list of principal entries. The condition is met if any of the entries match the caller's identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anyOf
A list of principal entries. The condition is met if any of the entries match the caller's identity.
- Parameters:
anyOf- A list of principal entries. The condition is met if any of the entries match the caller's identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anyOf
A list of principal entries. The condition is met if any of the entries match the caller's identity.
This is a convenience method that creates an instance of theMatchPrincipalEntry.Builderavoiding the need to create one manually viaMatchPrincipalEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toanyOf(List<MatchPrincipalEntry>).- Parameters:
anyOf- a consumer that will call methods onMatchPrincipalEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-