public static interface Principal.Builder extends SdkPojo, CopyableBuilder<Principal.Builder,Principal>
| Modifier and Type | Method and Description |
|---|---|
Principal.Builder |
principalARN(String principalARN)
The ARN of the principal (user, role, or group).
|
Principal.Builder |
principalType(PrincipalType principalType)
The principal type.
|
Principal.Builder |
principalType(String principalType)
The principal type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPrincipal.Builder principalARN(String principalARN)
The ARN of the principal (user, role, or group). This field allows for an ARN with no accountID,
with or without wildcard characters if the PrincipalType is an IAM_PATTERN.
For more information, review associate-principal-with-portfolio in the Amazon Web Services CLI Command Reference.
principalARN - The ARN of the principal (user, role, or group). This field allows for an ARN with no
accountID, with or without wildcard characters if the PrincipalType is an
IAM_PATTERN.
For more information, review associate-principal-with-portfolio in the Amazon Web Services CLI Command Reference.
Principal.Builder principalType(String principalType)
The principal type. The supported value is IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID, with or without wildcard
characters.
principalType - The principal type. The supported value is IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID, with or without wildcard
characters.PrincipalType,
PrincipalTypePrincipal.Builder principalType(PrincipalType principalType)
The principal type. The supported value is IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID, with or without wildcard
characters.
principalType - The principal type. The supported value is IAM if you use a fully defined ARN, or
IAM_PATTERN if you use an ARN with no accountID, with or without wildcard
characters.PrincipalType,
PrincipalTypeCopyright © 2023. All rights reserved.