public class ExportJobResource extends Object implements Serializable
Constructor and Description |
---|
ExportJobResource() |
Modifier and Type | Method and Description |
---|---|
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 |
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 String getRoleArn()
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 ExportJobResource withRoleArn(String roleArn)
Returns a reference to this object so that method calls can be chained together.
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 getS3UrlPrefix()
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 ExportJobResource withS3UrlPrefix(String s3UrlPrefix)
Returns a reference to this object so that method calls can be chained together.
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 getSegmentId()
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 ExportJobResource withSegmentId(String segmentId)
Returns a reference to this object so that method calls can be chained together.
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 Integer getSegmentVersion()
public void setSegmentVersion(Integer segmentVersion)
segmentVersion
- The version of the segment to export if specified.public ExportJobResource withSegmentVersion(Integer segmentVersion)
Returns a reference to this object so that method calls can be chained together.
segmentVersion
- The version of the segment to export if specified.public String toString()
toString
in class Object
Object.toString()
Copyright © 2019. All rights reserved.