@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportJobRequest extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
ExportJobRequest() |
Modifier and Type | Method and Description |
---|---|
ExportJobRequest |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that
endpoints will be exported to.
|
String |
getS3UrlPrefix()
A URL that points to the location within an Amazon S3 bucket that will receive the export.
|
String |
getSegmentId()
The ID of the segment to export endpoints from.
|
Integer |
getSegmentVersion()
The version of the segment to export if specified.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that
endpoints will be exported to.
|
void |
setS3UrlPrefix(String s3UrlPrefix)
A URL that points to the location within an Amazon S3 bucket that will receive the export.
|
void |
setSegmentId(String segmentId)
The ID of the segment to export endpoints from.
|
void |
setSegmentVersion(Integer segmentVersion)
The version of the segment to export if specified.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ExportJobRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location that
endpoints will be exported to.
|
ExportJobRequest |
withS3UrlPrefix(String s3UrlPrefix)
A URL that points to the location within an Amazon S3 bucket that will receive the export.
|
ExportJobRequest |
withSegmentId(String segmentId)
The ID of the segment to export endpoints from.
|
ExportJobRequest |
withSegmentVersion(Integer segmentVersion)
The version of the segment to export if specified.
|
public void setRoleArn(String roleArn)
roleArn
- The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location
that endpoints will be exported to.public String getRoleArn()
public ExportJobRequest withRoleArn(String roleArn)
roleArn
- The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the Amazon S3 location
that endpoints will be exported to.public void setS3UrlPrefix(String s3UrlPrefix)
s3UrlPrefix
- A URL that points to the location within an Amazon S3 bucket that will receive the export. The location is
typically a folder with multiple files.
The URL should follow this format: s3://bucket-name/folder-name/
Amazon Pinpoint will export endpoints to this location.public String getS3UrlPrefix()
public ExportJobRequest withS3UrlPrefix(String s3UrlPrefix)
s3UrlPrefix
- A URL that points to the location within an Amazon S3 bucket that will receive the export. The location is
typically a folder with multiple files.
The URL should follow this format: s3://bucket-name/folder-name/
Amazon Pinpoint will export endpoints to this location.public void setSegmentId(String segmentId)
segmentId
- The ID of the segment to export endpoints from. If not present, Amazon Pinpoint exports all of the
endpoints that belong to the application.public String getSegmentId()
public ExportJobRequest withSegmentId(String segmentId)
segmentId
- The ID of the segment to export endpoints from. If not present, Amazon Pinpoint exports all of the
endpoints that belong to the application.public void setSegmentVersion(Integer segmentVersion)
segmentVersion
- The version of the segment to export if specified.public Integer getSegmentVersion()
public ExportJobRequest withSegmentVersion(Integer segmentVersion)
segmentVersion
- The version of the segment to export if specified.public String toString()
toString
in class Object
Object.toString()
public ExportJobRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.