Interface Principal.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Principal.Builder,,- Principal> - SdkBuilder<Principal.Builder,,- Principal> - SdkPojo
- Enclosing class:
- Principal
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
principalARNThe 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 no- accountID, with or without wildcard characters if the- PrincipalTypeis an- IAM_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.
 
- 
principalTypeThe 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 is- IAMif you use a fully defined ARN, or- IAM_PATTERNif you use an ARN with no- accountID, with or without wildcard characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
principalTypeThe 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 is- IAMif you use a fully defined ARN, or- IAM_PATTERNif you use an ARN with no- accountID, with or without wildcard characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-