Interface SegmentImportResource.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SegmentImportResource.Builder,SegmentImportResource>, SdkBuilder<SegmentImportResource.Builder,SegmentImportResource>, SdkPojo
Enclosing class:
SegmentImportResource

public static interface SegmentImportResource.Builder extends SdkPojo, CopyableBuilder<SegmentImportResource.Builder,SegmentImportResource>
  • Method Details

    • channelCounts

      SegmentImportResource.Builder channelCounts(Map<String,Integer> channelCounts)

      The number of channel types in the endpoint definitions that were imported to create the segment.

      Parameters:
      channelCounts - The number of channel types in the endpoint definitions that were imported to create the segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • externalId

      SegmentImportResource.Builder externalId(String externalId)

      (Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.

      Parameters:
      externalId - (Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • format

      The format of the files that were imported to create the segment. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.

      Parameters:
      format - The format of the files that were imported to create the segment. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • format

      The format of the files that were imported to create the segment. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.

      Parameters:
      format - The format of the files that were imported to create the segment. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • roleArn

      The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Url

      The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from to create the segment.

      Parameters:
      s3Url - The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from to create the segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • size

      The number of endpoint definitions that were imported successfully to create the segment.

      Parameters:
      size - The number of endpoint definitions that were imported successfully to create the segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.