Interface SegmentImportResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SegmentImportResource.Builder,
,SegmentImportResource> SdkBuilder<SegmentImportResource.Builder,
,SegmentImportResource> SdkPojo
- Enclosing class:
SegmentImportResource
-
Method Summary
Modifier and TypeMethodDescriptionchannelCounts
(Map<String, Integer> channelCounts) The number of channel types in the endpoint definitions that were imported to create the segment.externalId
(String externalId) (Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy.The format of the files that were imported to create the segment.The format of the files that were imported to create the segment.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.The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from to create the segment.The number of endpoint definitions that were imported successfully to create the segment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
(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.
-