@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportJobResource extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the resource settings for a job that exports endpoint definitions to a file. The file can be added directly to an Amazon Simple Storage Service (Amazon S3) bucket by using the Amazon Pinpoint API or downloaded directly to a computer by using the Amazon Pinpoint console.
Constructor and Description |
---|
ExportJobResource() |
Modifier and Type | Method and Description |
---|---|
ExportJobResource |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon
Pinpoint to access the Amazon S3 location where the endpoint definitions were exported to.
|
String |
getS3UrlPrefix()
The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where the endpoint definitions
were exported to.
|
String |
getSegmentId()
The identifier for the segment that the endpoint definitions were exported from.
|
Integer |
getSegmentVersion()
The version of the segment that the endpoint definitions were exported from.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon
Pinpoint to access the Amazon S3 location where the endpoint definitions were exported to.
|
void |
setS3UrlPrefix(String s3UrlPrefix)
The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where the endpoint definitions
were exported to.
|
void |
setSegmentId(String segmentId)
The identifier for the segment that the endpoint definitions were exported from.
|
void |
setSegmentVersion(Integer segmentVersion)
The version of the segment that the endpoint definitions were exported from.
|
String |
toString()
Returns a string representation of this object.
|
ExportJobResource |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon
Pinpoint to access the Amazon S3 location where the endpoint definitions were exported to.
|
ExportJobResource |
withS3UrlPrefix(String s3UrlPrefix)
The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where the endpoint definitions
were exported to.
|
ExportJobResource |
withSegmentId(String segmentId)
The identifier for the segment that the endpoint definitions were exported from.
|
ExportJobResource |
withSegmentVersion(Integer segmentVersion)
The version of the segment that the endpoint definitions were exported from.
|
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location where the endpoint definitions were exported to.
roleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon
Pinpoint to access the Amazon S3 location where the endpoint definitions were exported to.public String getRoleArn()
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location where the endpoint definitions were exported to.
public ExportJobResource withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location where the endpoint definitions were exported to.
roleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that authorized Amazon
Pinpoint to access the Amazon S3 location where the endpoint definitions were exported to.public void setS3UrlPrefix(String s3UrlPrefix)
The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where the endpoint definitions
were exported to. This location is typically a folder that contains multiple files. The URL should be in the
following format: s3://
s3UrlPrefix
- The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where the endpoint
definitions were exported to. This location is typically a folder that contains multiple files. The URL
should be in the following format:
s3://public String getS3UrlPrefix()
The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where the endpoint definitions
were exported to. This location is typically a folder that contains multiple files. The URL should be in the
following format: s3://
public ExportJobResource withS3UrlPrefix(String s3UrlPrefix)
The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where the endpoint definitions
were exported to. This location is typically a folder that contains multiple files. The URL should be in the
following format: s3://
s3UrlPrefix
- The URL of the location in an Amazon Simple Storage Service (Amazon S3) bucket where the endpoint
definitions were exported to. This location is typically a folder that contains multiple files. The URL
should be in the following format:
s3://public void setSegmentId(String segmentId)
The identifier for the segment that the endpoint definitions were exported from. If this value isn't present, Amazon Pinpoint exported definitions for all the endpoints that are associated with the application.
segmentId
- The identifier for the segment that the endpoint definitions were exported from. If this value isn't
present, Amazon Pinpoint exported definitions for all the endpoints that are associated with the
application.public String getSegmentId()
The identifier for the segment that the endpoint definitions were exported from. If this value isn't present, Amazon Pinpoint exported definitions for all the endpoints that are associated with the application.
public ExportJobResource withSegmentId(String segmentId)
The identifier for the segment that the endpoint definitions were exported from. If this value isn't present, Amazon Pinpoint exported definitions for all the endpoints that are associated with the application.
segmentId
- The identifier for the segment that the endpoint definitions were exported from. If this value isn't
present, Amazon Pinpoint exported definitions for all the endpoints that are associated with the
application.public void setSegmentVersion(Integer segmentVersion)
The version of the segment that the endpoint definitions were exported from.
segmentVersion
- The version of the segment that the endpoint definitions were exported from.public Integer getSegmentVersion()
The version of the segment that the endpoint definitions were exported from.
public ExportJobResource withSegmentVersion(Integer segmentVersion)
The version of the segment that the endpoint definitions were exported from.
segmentVersion
- The version of the segment that the endpoint definitions were exported from.public String toString()
toString
in class Object
Object.toString()
public ExportJobResource 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.