public static interface SegmentImportResource.Builder extends SdkPojo, CopyableBuilder<SegmentImportResource.Builder,SegmentImportResource>
Modifier and Type | Method and Description |
---|---|
SegmentImportResource.Builder |
channelCounts(Map<String,Integer> channelCounts)
The number of channel types in the endpoint definitions that were imported to create the segment.
|
SegmentImportResource.Builder |
externalId(String externalId)
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy.
|
SegmentImportResource.Builder |
format(Format format)
The format of the files that were imported to create the segment.
|
SegmentImportResource.Builder |
format(String format)
The format of the files that were imported to create the segment.
|
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.
|
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.
|
SegmentImportResource.Builder |
size(Integer size)
The number of endpoint definitions that were imported successfully to create the segment.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
SegmentImportResource.Builder channelCounts(Map<String,Integer> channelCounts)
The number of channel types in the endpoint definitions that were imported to create the segment.
channelCounts
- The number of channel types in the endpoint definitions that were imported to create the segment.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.
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.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.
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.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.
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.Format
,
Format
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.
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.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.
s3Url
- The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were
imported from to create the segment.SegmentImportResource.Builder size(Integer size)
The number of endpoint definitions that were imported successfully to create the segment.
size
- The number of endpoint definitions that were imported successfully to create the segment.Copyright © 2021. All rights reserved.