Class ImportJobRequest
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImportJobRequest.Builder,ImportJobRequest>
Specifies the settings for a job that imports endpoint definitions from an Amazon Simple Storage Service (Amazon S3) bucket.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ImportJobRequest.Builderbuilder()final BooleanSpecifies whether to create a segment that contains the endpoints, when the endpoint definitions are imported.final booleanfinal booleanequalsBySdkFields(Object obj) final String(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy.final Formatformat()The format of the files that contain the endpoint definitions to import.final StringThe format of the files that contain the endpoint definitions to import.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final BooleanSpecifies whether to register the endpoints with Amazon Pinpoint, when the endpoint definitions are imported.final StringroleArn()The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.final Strings3Url()The URL of the Amazon Simple Storage Service (Amazon S3) bucket that contains the endpoint definitions to import.final StringThe identifier for the segment to update or add the imported endpoint definitions to, if the import job is meant to update an existing segment.final StringA custom name for the segment that's created by the import job, if the value of the DefineSegment property is true.static Class<? extends ImportJobRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
defineSegment
Specifies whether to create a segment that contains the endpoints, when the endpoint definitions are imported.
- Returns:
- Specifies whether to create a segment that contains the endpoints, when the endpoint definitions are imported.
-
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:
- (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.
-
format
The format of the files that contain the endpoint definitions to import. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format. If the Amazon S3 location stores multiple files that use different formats, Amazon Pinpoint imports data only from the files that use the specified format.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The format of the files that contain the endpoint definitions to import. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format. If the Amazon S3 location stores multiple files that use different formats, Amazon Pinpoint imports data only from the files that use the specified format.
- See Also:
-
formatAsString
The format of the files that contain the endpoint definitions to import. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format. If the Amazon S3 location stores multiple files that use different formats, Amazon Pinpoint imports data only from the files that use the specified format.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The format of the files that contain the endpoint definitions to import. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format. If the Amazon S3 location stores multiple files that use different formats, Amazon Pinpoint imports data only from the files that use the specified format.
- See Also:
-
registerEndpoints
Specifies whether to register the endpoints with Amazon Pinpoint, when the endpoint definitions are imported.
- Returns:
- Specifies whether to register the endpoints with Amazon Pinpoint, when the endpoint definitions are imported.
-
roleArn
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.
- Returns:
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorizes Amazon Pinpoint to access the Amazon S3 location to import endpoint definitions from.
-
s3Url
The URL of the Amazon Simple Storage Service (Amazon S3) bucket that contains the endpoint definitions to import. This location can be a folder or a single file. If the location is a folder, Amazon Pinpoint imports endpoint definitions from the files in this location, including any subfolders that the folder contains.
The URL should be in the following format: s3://
bucket-name /folder-name /file-name . The location can end with the key for an individual object or a prefix that qualifies multiple objects.- Returns:
- The URL of the Amazon Simple Storage Service (Amazon S3) bucket that contains the endpoint definitions to
import. This location can be a folder or a single file. If the location is a folder, Amazon Pinpoint
imports endpoint definitions from the files in this location, including any subfolders that the folder
contains.
The URL should be in the following format: s3://
bucket-name /folder -name /file-name . The location can end with the key for an individual object or a prefix that qualifies multiple objects.
-
segmentId
The identifier for the segment to update or add the imported endpoint definitions to, if the import job is meant to update an existing segment.
- Returns:
- The identifier for the segment to update or add the imported endpoint definitions to, if the import job is meant to update an existing segment.
-
segmentName
A custom name for the segment that's created by the import job, if the value of the DefineSegment property is true.
- Returns:
- A custom name for the segment that's created by the import job, if the value of the DefineSegment property is true.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImportJobRequest.Builder,ImportJobRequest>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-