public class SegmentImportResource extends Object implements Serializable
| Constructor and Description |
|---|
SegmentImportResource() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getExternalId()
A unique, custom ID assigned to the IAM role that restricts who can
assume the role.
|
String |
getFormat()
The format of the endpoint files that were imported to create this
segment.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint
access to the endpoints in Amazon S3.
|
String |
getS3Url()
A URL that points to the Amazon S3 location from which the endpoints for
this segment were imported.
|
Integer |
getSize()
The number of endpoints that were successfully imported to create this
segment.
|
int |
hashCode() |
void |
setExternalId(String externalId)
A unique, custom ID assigned to the IAM role that restricts who can
assume the role.
|
void |
setFormat(Format format)
The format of the endpoint files that were imported to create this
segment.
|
void |
setFormat(String format)
The format of the endpoint files that were imported to create this
segment.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint
access to the endpoints in Amazon S3.
|
void |
setS3Url(String s3Url)
A URL that points to the Amazon S3 location from which the endpoints for
this segment were imported.
|
void |
setSize(Integer size)
The number of endpoints that were successfully imported to create this
segment.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SegmentImportResource |
withExternalId(String externalId)
A unique, custom ID assigned to the IAM role that restricts who can
assume the role.
|
SegmentImportResource |
withFormat(Format format)
The format of the endpoint files that were imported to create this
segment.
|
SegmentImportResource |
withFormat(String format)
The format of the endpoint files that were imported to create this
segment.
|
SegmentImportResource |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint
access to the endpoints in Amazon S3.
|
SegmentImportResource |
withS3Url(String s3Url)
A URL that points to the Amazon S3 location from which the endpoints for
this segment were imported.
|
SegmentImportResource |
withSize(Integer size)
The number of endpoints that were successfully imported to create this
segment.
|
public String getExternalId()
public void setExternalId(String externalId)
externalId - A unique, custom ID assigned to the IAM role that
restricts who can assume the role.public SegmentImportResource withExternalId(String externalId)
Returns a reference to this object so that method calls can be chained together.
externalId - A unique, custom ID assigned to the IAM role that
restricts who can assume the role.public String getFormat()
Constraints:
Allowed Values: CSV, JSON
Formatpublic void setFormat(String format)
Constraints:
Allowed Values: CSV, JSON
format - The format of the endpoint files that were imported to
create this segment. Valid values: CSV, JSONFormatpublic SegmentImportResource withFormat(String format)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CSV, JSON
format - The format of the endpoint files that were imported to
create this segment. Valid values: CSV, JSONFormatpublic void setFormat(Format format)
Constraints:
Allowed Values: CSV, JSON
format - The format of the endpoint files that were imported to
create this segment. Valid values: CSV, JSONFormatpublic SegmentImportResource withFormat(Format format)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CSV, JSON
format - The format of the endpoint files that were imported to
create this segment. Valid values: CSV, JSONFormatpublic String getRoleArn()
public void setRoleArn(String roleArn)
roleArn - The Amazon Resource Name (ARN) of an IAM role that grants
Amazon Pinpoint access to the endpoints in Amazon S3.public SegmentImportResource 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 endpoints in Amazon S3.public String getS3Url()
public void setS3Url(String s3Url)
s3Url - A URL that points to the Amazon S3 location from which the
endpoints for this segment were imported.public SegmentImportResource withS3Url(String s3Url)
Returns a reference to this object so that method calls can be chained together.
s3Url - A URL that points to the Amazon S3 location from which the
endpoints for this segment were imported.public Integer getSize()
public void setSize(Integer size)
size - The number of endpoints that were successfully imported to
create this segment.public SegmentImportResource withSize(Integer size)
Returns a reference to this object so that method calls can be chained together.
size - The number of endpoints that were successfully imported to
create this segment.public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.