@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SegmentImportResource extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
SegmentImportResource() |
Modifier and Type | Method and Description |
---|---|
SegmentImportResource |
addChannelCountsEntry(String key,
Integer value) |
SegmentImportResource |
clearChannelCountsEntries()
Removes all the entries added into ChannelCounts.
|
SegmentImportResource |
clone() |
boolean |
equals(Object obj) |
Map<String,Integer> |
getChannelCounts()
Channel type counts
|
String |
getExternalId()
DEPRECATED.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setChannelCounts(Map<String,Integer> channelCounts)
Channel type counts
|
void |
setExternalId(String externalId)
DEPRECATED.
|
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 |
withChannelCounts(Map<String,Integer> channelCounts)
Channel type counts
|
SegmentImportResource |
withExternalId(String externalId)
DEPRECATED.
|
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 Map<String,Integer> getChannelCounts()
public void setChannelCounts(Map<String,Integer> channelCounts)
channelCounts
- Channel type countspublic SegmentImportResource withChannelCounts(Map<String,Integer> channelCounts)
channelCounts
- Channel type countspublic SegmentImportResource addChannelCountsEntry(String key, Integer value)
public SegmentImportResource clearChannelCountsEntries()
public void setExternalId(String externalId)
externalId
- DEPRECATED. Your AWS account ID, which you assigned to the ExternalID key in an IAM trust policy. Used by
Amazon Pinpoint to assume an IAM role. This requirement is removed, and external IDs are not recommended
for IAM roles assumed by Amazon Pinpoint.public String getExternalId()
public SegmentImportResource withExternalId(String externalId)
externalId
- DEPRECATED. Your AWS account ID, which you assigned to the ExternalID key in an IAM trust policy. Used by
Amazon Pinpoint to assume an IAM role. This requirement is removed, and external IDs are not recommended
for IAM roles assumed by Amazon Pinpoint.public void setFormat(String format)
format
- The format of the endpoint files that were imported to create this segment. Valid values: CSV, JSONFormat
public String getFormat()
Format
public SegmentImportResource withFormat(String format)
format
- The format of the endpoint files that were imported to create this segment. Valid values: CSV, JSONFormat
public void setFormat(Format format)
format
- The format of the endpoint files that were imported to create this segment. Valid values: CSV, JSONFormat
public SegmentImportResource withFormat(Format format)
format
- The format of the endpoint files that were imported to create this segment. Valid values: CSV, JSONFormat
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 String getRoleArn()
public SegmentImportResource withRoleArn(String roleArn)
roleArn
- The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the endpoints in
Amazon S3.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 String getS3Url()
public SegmentImportResource withS3Url(String s3Url)
s3Url
- A URL that points to the Amazon S3 location from which the endpoints for this segment were imported.public void setSize(Integer size)
size
- The number of endpoints that were successfully imported to create this segment.public Integer getSize()
public SegmentImportResource withSize(Integer size)
size
- The number of endpoints that were successfully imported to create this segment.public String toString()
toString
in class Object
Object.toString()
public SegmentImportResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.