@Generated(value="software.amazon.awssdk:codegen") public class ImportJobRequest extends Object implements StructuredPojo, ToCopyableBuilder<ImportJobRequest.Builder,ImportJobRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImportJobRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImportJobRequest.Builder |
builder() |
Boolean |
defineSegment()
Sets whether the endpoints create a segment when they are imported.
|
boolean |
equals(Object obj) |
String |
externalId()
A unique, custom ID assigned to the IAM role that restricts who can assume the role.
|
Format |
format()
The format of the files that contain the endpoint definitions.
|
String |
formatAsString()
The format of the files that contain the endpoint definitions.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
Boolean |
registerEndpoints()
Sets whether the endpoints are registered with Amazon Pinpoint when they are imported.
|
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.
|
String |
s3Url()
A URL that points to the location within an Amazon S3 bucket that contains the endpoints to import.
|
String |
segmentId()
The ID of the segment to update if the import job is meant to update an existing segment.
|
String |
segmentName()
A custom name for the segment created by the import job.
|
static Class<? extends ImportJobRequest.Builder> |
serializableBuilderClass() |
ImportJobRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic Boolean defineSegment()
public String externalId()
public Format format()
If the service returns an enum value that is not available in the current SDK version, format will
return Format.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
Formatpublic String formatAsString()
If the service returns an enum value that is not available in the current SDK version, format will
return Format.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
Formatpublic Boolean registerEndpoints()
public String roleArn()
public String s3Url()
public String segmentId()
public String segmentName()
public ImportJobRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ImportJobRequest.Builder,ImportJobRequest>public static ImportJobRequest.Builder builder()
public static Class<? extends ImportJobRequest.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.