Interface SpendPrincipal.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SpendPrincipal.Builder,,SpendPrincipal> SdkBuilder<SpendPrincipal.Builder,,SpendPrincipal> SdkPojo
- Enclosing class:
SpendPrincipal
@Mutable
@NotThreadSafe
public static interface SpendPrincipal.Builder
extends SdkPojo, CopyableBuilder<SpendPrincipal.Builder,SpendPrincipal>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the principal.The kind of principal.type(SpendPrincipalType type) The kind of principal.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
-
type
The kind of principal. Valid values are
IDENTITY_CENTER_USERandIAM_PRINCIPAL.- Parameters:
type- The kind of principal. Valid values areIDENTITY_CENTER_USERandIAM_PRINCIPAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The kind of principal. Valid values are
IDENTITY_CENTER_USERandIAM_PRINCIPAL.- Parameters:
type- The kind of principal. Valid values areIDENTITY_CENTER_USERandIAM_PRINCIPAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The ID of the principal. The value depends on the principal type:
-
For an Identity Center user, specify the user ID.
-
For an IAM principal, specify the ARN of the IAM root user, IAM user or role, or the STS assumed-role or federated-user ARN.
- Parameters:
id- The ID of the principal. The value depends on the principal type:-
For an Identity Center user, specify the user ID.
-
For an IAM principal, specify the ARN of the IAM root user, IAM user or role, or the STS assumed-role or federated-user ARN.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-