public static interface ImportJobResource.Builder extends CopyableBuilder<ImportJobResource.Builder,ImportJobResource>
Modifier and Type | Method and Description |
---|---|
ImportJobResource.Builder |
defineSegment(Boolean defineSegment)
Sets whether the endpoints create a segment when they are imported.
|
ImportJobResource.Builder |
externalId(String externalId)
A unique, custom ID assigned to the IAM role that restricts who can assume the role.
|
ImportJobResource.Builder |
format(Format format)
The format of the files that contain the endpoint definitions.
|
ImportJobResource.Builder |
format(String format)
The format of the files that contain the endpoint definitions.
|
ImportJobResource.Builder |
registerEndpoints(Boolean registerEndpoints)
Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.
|
ImportJobResource.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.
|
ImportJobResource.Builder |
s3Url(String s3Url)
A URL that points to the location within an Amazon S3 bucket that contains the endpoints to import.
|
ImportJobResource.Builder |
segmentId(String segmentId)
The ID of the segment to update if the import job is meant to update an existing segment.
|
ImportJobResource.Builder |
segmentName(String segmentName)
A custom name for the segment created by the import job.
|
copy
apply, build
ImportJobResource.Builder defineSegment(Boolean defineSegment)
defineSegment
- Sets whether the endpoints create a segment when they are imported.ImportJobResource.Builder externalId(String externalId)
externalId
- A unique, custom ID assigned to the IAM role that restricts who can assume the role.ImportJobResource.Builder format(String format)
ImportJobResource.Builder format(Format format)
ImportJobResource.Builder registerEndpoints(Boolean registerEndpoints)
registerEndpoints
- Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.ImportJobResource.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.ImportJobResource.Builder s3Url(String s3Url)
s3Url
- A URL that points to the location within an Amazon S3 bucket that contains the endpoints to import.
The location can be a folder or a single file. The URL should follow this format:
s3://bucket-name/folder-name/file-name
Amazon Pinpoint will import endpoints from this location and any subfolders it contains.ImportJobResource.Builder segmentId(String segmentId)
segmentId
- The ID of the segment to update if the import job is meant to update an existing segment.ImportJobResource.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.