Interface SegmentImportResource.Builder

    • Method Detail

      • 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

        SegmentImportResource.Builder format​(String 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, Format
      • format

        SegmentImportResource.Builder format​(Format 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, Format
      • roleArn

        SegmentImportResource.Builder roleArn​(String 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

        SegmentImportResource.Builder s3Url​(String 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

        SegmentImportResource.Builder size​(Integer 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.