@Generated(value="software.amazon.awssdk:codegen") public final class ImportJobResource extends Object implements StructuredPojo, ToCopyableBuilder<ImportJobResource.Builder,ImportJobResource>
Modifier and Type | Class and Description |
---|---|
static interface |
ImportJobResource.Builder |
Modifier and Type | Method and Description |
---|---|
static ImportJobResource.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 ImportJobResource.Builder> |
serializableBuilderClass() |
ImportJobResource.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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()
.
Format
public 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()
.
Format
public Boolean registerEndpoints()
public String roleArn()
public String s3Url()
public String segmentId()
public String segmentName()
public ImportJobResource.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ImportJobResource.Builder,ImportJobResource>
public static ImportJobResource.Builder builder()
public static Class<? extends ImportJobResource.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.