@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SegmentImportResource extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the import job that created a segment. An import job is a job that creates a user segment by importing endpoint definitions.
Constructor and Description |
---|
SegmentImportResource() |
Modifier and Type | Method and Description |
---|---|
SegmentImportResource |
addChannelCountsEntry(String key,
Integer value)
Add a single ChannelCounts entry
|
SegmentImportResource |
clearChannelCountsEntries()
Removes all the entries added into ChannelCounts.
|
SegmentImportResource |
clone() |
boolean |
equals(Object obj) |
Map<String,Integer> |
getChannelCounts()
The number of channel types in the endpoint definitions that were imported to create the segment.
|
String |
getExternalId()
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy.
|
String |
getFormat()
The format of the files that were imported to create the segment.
|
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 to import endpoint definitions from.
|
String |
getS3Url()
The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from
to create the segment.
|
Integer |
getSize()
The number of endpoint definitions that were imported successfully to create the segment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setChannelCounts(Map<String,Integer> channelCounts)
The number of channel types in the endpoint definitions that were imported to create the segment.
|
void |
setExternalId(String externalId)
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy.
|
void |
setFormat(Format format)
The format of the files that were imported to create the segment.
|
void |
setFormat(String format)
The format of the files that were imported to create the segment.
|
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 to import endpoint definitions from.
|
void |
setS3Url(String s3Url)
The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from
to create the segment.
|
void |
setSize(Integer size)
The number of endpoint definitions that were imported successfully to create the segment.
|
String |
toString()
Returns a string representation of this object.
|
SegmentImportResource |
withChannelCounts(Map<String,Integer> channelCounts)
The number of channel types in the endpoint definitions that were imported to create the segment.
|
SegmentImportResource |
withExternalId(String externalId)
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy.
|
SegmentImportResource |
withFormat(Format format)
The format of the files that were imported to create the segment.
|
SegmentImportResource |
withFormat(String format)
The format of the files that were imported to create the segment.
|
SegmentImportResource |
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 to import endpoint definitions from.
|
SegmentImportResource |
withS3Url(String s3Url)
The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from
to create the segment.
|
SegmentImportResource |
withSize(Integer size)
The number of endpoint definitions that were imported successfully to create the segment.
|
public Map<String,Integer> getChannelCounts()
The number of channel types in the endpoint definitions that were imported to create the segment.
public void setChannelCounts(Map<String,Integer> channelCounts)
The number of channel types in the endpoint definitions that were imported to create the segment.
channelCounts
- The number of channel types in the endpoint definitions that were imported to create the segment.public SegmentImportResource withChannelCounts(Map<String,Integer> channelCounts)
The number of channel types in the endpoint definitions that were imported to create the segment.
channelCounts
- The number of channel types in the endpoint definitions that were imported to create the segment.public SegmentImportResource addChannelCountsEntry(String key, Integer value)
public SegmentImportResource clearChannelCountsEntries()
public void setExternalId(String externalId)
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
externalId
- (Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon
Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we
removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon
Pinpoint.public String getExternalId()
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
public SegmentImportResource withExternalId(String externalId)
(Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon Pinpoint.
externalId
- (Deprecated) Your AWS account ID, which you assigned to an external ID key in an IAM trust policy. Amazon
Pinpoint previously used this value to assume an IAM role when importing endpoint definitions, but we
removed this requirement. We don't recommend use of external IDs for IAM roles that are assumed by Amazon
Pinpoint.public void setFormat(String format)
The format of the files that were imported to create the segment. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.
format
- The format of the files that were imported to create the segment. Valid values are: CSV, for
comma-separated values format; and, JSON, for newline-delimited JSON format.Format
public String getFormat()
The format of the files that were imported to create the segment. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.
Format
public SegmentImportResource withFormat(String format)
The format of the files that were imported to create the segment. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.
format
- The format of the files that were imported to create the segment. Valid values are: CSV, for
comma-separated values format; and, JSON, for newline-delimited JSON format.Format
public void setFormat(Format format)
The format of the files that were imported to create the segment. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.
format
- The format of the files that were imported to create the segment. Valid values are: CSV, for
comma-separated values format; and, JSON, for newline-delimited JSON format.Format
public SegmentImportResource withFormat(Format format)
The format of the files that were imported to create the segment. Valid values are: CSV, for comma-separated values format; and, JSON, for newline-delimited JSON format.
format
- The format of the files that were imported to create the segment. Valid values are: CSV, for
comma-separated values format; and, JSON, for newline-delimited JSON format.Format
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 to import endpoint definitions from.
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 to import endpoint definitions from.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 to import endpoint definitions from.
public SegmentImportResource 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 to import endpoint definitions from.
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 to import endpoint definitions from.public void setS3Url(String s3Url)
The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from to create the segment.
s3Url
- The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were
imported from to create the segment.public String getS3Url()
The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from to create the segment.
public SegmentImportResource withS3Url(String s3Url)
The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were imported from to create the segment.
s3Url
- The URL of the Amazon Simple Storage Service (Amazon S3) bucket that the endpoint definitions were
imported from to create the segment.public void setSize(Integer size)
The number of endpoint definitions that were imported successfully to create the segment.
size
- The number of endpoint definitions that were imported successfully to create the segment.public Integer getSize()
The number of endpoint definitions that were imported successfully to create the segment.
public SegmentImportResource withSize(Integer size)
The number of endpoint definitions that were imported successfully to create the segment.
size
- The number of endpoint definitions that were imported successfully to create the segment.public String toString()
toString
in class Object
Object.toString()
public SegmentImportResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.