@Generated(value="software.amazon.awssdk:codegen") public class SegmentImportResource extends Object implements StructuredPojo, ToCopyableBuilder<SegmentImportResource.Builder,SegmentImportResource>
Modifier and Type | Class and Description |
---|---|
static interface |
SegmentImportResource.Builder |
Modifier and Type | Method and Description |
---|---|
static SegmentImportResource.Builder |
builder() |
Map<String,Integer> |
channelCounts()
Channel type counts
|
boolean |
equals(Object obj) |
String |
externalId()
A unique, custom ID assigned to the IAM role that restricts who can assume the role.
|
Format |
format()
The format of the endpoint files that were imported to create this segment.
|
String |
formatAsString()
The format of the endpoint files that were imported to create this segment.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
roleArn()
The Amazon Resource Name (ARN) of an IAM role that grants Amazon Pinpoint access to the endpoints in Amazon S3.
|
String |
s3Url()
A URL that points to the Amazon S3 location from which the endpoints for this segment were imported.
|
static Class<? extends SegmentImportResource.Builder> |
serializableBuilderClass() |
Integer |
size()
The number of endpoints that were successfully imported to create this segment.
|
SegmentImportResource.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Map<String,Integer> channelCounts()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String externalId()
public Format format()
If the service returns an enum value that is not available in the current SDK version, format
will
return Format.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
formatAsString()
.
Format
public String formatAsString()
If the service returns an enum value that is not available in the current SDK version, format
will
return Format.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
formatAsString()
.
Format
public String roleArn()
public String s3Url()
public Integer size()
public SegmentImportResource.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SegmentImportResource.Builder,SegmentImportResource>
public static SegmentImportResource.Builder builder()
public static Class<? extends SegmentImportResource.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.