Interface Principal.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Principal.Builder,,Principal> SdkBuilder<Principal.Builder,,Principal> SdkPojo
- Enclosing class:
Principal
-
Method Summary
Modifier and TypeMethodDescriptionprincipalARN(String principalARN) The ARN of the principal (user, role, or group).principalType(String principalType) The principal type.principalType(PrincipalType principalType) The principal type.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, sdkFields
-
Method Details
-
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 thePrincipalTypeis anIAM_PATTERN.For more information, review associate-principal-with-portfolio in the Amazon Web Services CLI Command Reference.
- Parameters:
principalARN- The ARN of the principal (user, role, or group). This field allows for an ARN with noaccountID, with or without wildcard characters if thePrincipalTypeis anIAM_PATTERN.For more information, review associate-principal-with-portfolio in the Amazon Web Services CLI Command Reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalType
The principal type. The supported value is
IAMif you use a fully defined ARN, orIAM_PATTERNif you use an ARN with noaccountID, with or without wildcard characters.- Parameters:
principalType- The principal type. The supported value isIAMif you use a fully defined ARN, orIAM_PATTERNif you use an ARN with noaccountID, with or without wildcard characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
principalType
The principal type. The supported value is
IAMif you use a fully defined ARN, orIAM_PATTERNif you use an ARN with noaccountID, with or without wildcard characters.- Parameters:
principalType- The principal type. The supported value isIAMif you use a fully defined ARN, orIAM_PATTERNif you use an ARN with noaccountID, with or without wildcard characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-