Interface MatchPrincipalEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MatchPrincipalEntry.Builder,,MatchPrincipalEntry> SdkBuilder<MatchPrincipalEntry.Builder,,MatchPrincipalEntry> SdkPojo
- Enclosing class:
MatchPrincipalEntry
@Mutable
@NotThreadSafe
public static interface MatchPrincipalEntry.Builder
extends SdkPojo, CopyableBuilder<MatchPrincipalEntry.Builder,MatchPrincipalEntry>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MatchPrincipalEntry.BuilderiamPrincipal(Consumer<IamPrincipal.Builder> iamPrincipal) An IAM principal to match against, specified by ARN.iamPrincipal(IamPrincipal iamPrincipal) An IAM principal to match against, specified by ARN.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
-
iamPrincipal
An IAM principal to match against, specified by ARN.
- Parameters:
iamPrincipal- An IAM principal to match against, specified by ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamPrincipal
An IAM principal to match against, specified by ARN.
This is a convenience method that creates an instance of theIamPrincipal.Builderavoiding the need to create one manually viaIamPrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toiamPrincipal(IamPrincipal).- Parameters:
iamPrincipal- a consumer that will call methods onIamPrincipal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-