public static interface ImportJobRequest.Builder extends SdkPojo, CopyableBuilder<ImportJobRequest.Builder,ImportJobRequest>
Modifier and Type | Method and Description |
---|---|
ImportJobRequest.Builder |
defineSegment(Boolean defineSegment)
Sets whether the endpoints create a segment when they are imported.
|
ImportJobRequest.Builder |
externalId(String externalId)
(Deprecated) Your AWS account ID, which you assigned to the ExternalID key in an IAM trust policy.
|
ImportJobRequest.Builder |
format(Format format)
The format of the files that contain the endpoint definitions.
|
ImportJobRequest.Builder |
format(String format)
The format of the files that contain the endpoint definitions.
|
ImportJobRequest.Builder |
registerEndpoints(Boolean registerEndpoints)
Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.
|
ImportJobRequest.Builder |
roleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location
that contains the endpoints to import.
|
ImportJobRequest.Builder |
s3Url(String s3Url)
The URL of the S3 bucket that contains the segment information to import.
|
ImportJobRequest.Builder |
segmentId(String segmentId)
The ID of the segment to update if the import job is meant to update an existing segment.
|
ImportJobRequest.Builder |
segmentName(String segmentName)
A custom name for the segment created by the import job.
|
copy
applyMutation, build
ImportJobRequest.Builder defineSegment(Boolean defineSegment)
defineSegment
- Sets whether the endpoints create a segment when they are imported.ImportJobRequest.Builder externalId(String externalId)
externalId
- (Deprecated) Your AWS account ID, which you assigned to the ExternalID key in an IAM trust policy.
Used by Amazon Pinpoint to assume an IAM role. This requirement is removed, and external IDs are not
recommended for IAM roles assumed by Amazon Pinpoint.ImportJobRequest.Builder format(String format)
ImportJobRequest.Builder format(Format format)
ImportJobRequest.Builder registerEndpoints(Boolean registerEndpoints)
registerEndpoints
- Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.ImportJobRequest.Builder roleArn(String roleArn)
roleArn
- The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3
location that contains the endpoints to import.ImportJobRequest.Builder s3Url(String s3Url)
s3Url
- The URL of the S3 bucket that contains the segment information to import. The location can be a folder
or a single file. The URL should use the following format: s3://bucket-name/folder-name/file-name
Amazon Pinpoint imports endpoints from this location and any subfolders it contains.ImportJobRequest.Builder segmentId(String segmentId)
segmentId
- The ID of the segment to update if the import job is meant to update an existing segment.ImportJobRequest.Builder segmentName(String segmentName)
segmentName
- A custom name for the segment created by the import job. Use if DefineSegment is true.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.