Interface Principal.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Principal.Builder,Principal>,SdkBuilder<Principal.Builder,Principal>,SdkPojo
- Enclosing class:
- Principal
public static interface Principal.Builder extends SdkPojo, CopyableBuilder<Principal.Builder,Principal>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Principal.BuilderprincipalARN(String principalARN)The ARN of the principal (user, role, or group).Principal.BuilderprincipalType(String principalType)The principal type.Principal.BuilderprincipalType(PrincipalType principalType)The principal type.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
principalARN
Principal.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 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
Principal.Builder principalType(String 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,PrincipalType
-
principalType
Principal.Builder principalType(PrincipalType 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,PrincipalType
-
-