@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportJobResource extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
ExportJobResource() |
Modifier and Type | Method and Description |
---|---|
ExportJobResource |
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) |
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.
|
ExportJobResource |
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.
|
ExportJobResource |
withS3UrlPrefix(String s3UrlPrefix)
A URL that points to the location within an Amazon S3 bucket that will receive the export.
|
ExportJobResource |
withSegmentId(String segmentId)
The ID of the segment to export endpoints from.
|
ExportJobResource |
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 ExportJobResource 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 ExportJobResource 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 ExportJobResource 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 ExportJobResource withSegmentVersion(Integer segmentVersion)
segmentVersion
- The version of the segment to export if specified.public String toString()
toString
in class Object
Object.toString()
public ExportJobResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.