public class ExportJobRequest
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ExportJobRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.lang.String |
getS3UrlPrefix()
A URL that points to the location within an Amazon S3 bucket that will
receive the export.
|
java.lang.String |
getSegmentId()
The ID of the segment to export endpoints from.
|
java.lang.Integer |
getSegmentVersion()
The version of the segment to export if specified.
|
int |
hashCode() |
void |
setRoleArn(java.lang.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(java.lang.String s3UrlPrefix)
A URL that points to the location within an Amazon S3 bucket that will
receive the export.
|
void |
setSegmentId(java.lang.String segmentId)
The ID of the segment to export endpoints from.
|
void |
setSegmentVersion(java.lang.Integer segmentVersion)
The version of the segment to export if specified.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ExportJobRequest |
withRoleArn(java.lang.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(java.lang.String s3UrlPrefix)
A URL that points to the location within an Amazon S3 bucket that will
receive the export.
|
ExportJobRequest |
withSegmentId(java.lang.String segmentId)
The ID of the segment to export endpoints from.
|
ExportJobRequest |
withSegmentVersion(java.lang.Integer segmentVersion)
The version of the segment to export if specified.
|
public java.lang.String getRoleArn()
public void setRoleArn(java.lang.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 ExportJobRequest withRoleArn(java.lang.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 java.lang.String getS3UrlPrefix()
public void setS3UrlPrefix(java.lang.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 ExportJobRequest withS3UrlPrefix(java.lang.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 java.lang.String getSegmentId()
public void setSegmentId(java.lang.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 ExportJobRequest withSegmentId(java.lang.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 java.lang.Integer getSegmentVersion()
public void setSegmentVersion(java.lang.Integer segmentVersion)
segmentVersion
- The version of the segment to export if specified.public ExportJobRequest withSegmentVersion(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.