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 Details

    • 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 the PrincipalType is an IAM_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 PrincipalType is 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.
    • principalType

      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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • principalType

      Principal.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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: