@Generated(value="software.amazon.awssdk:codegen") public final class ChannelMessages extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChannelMessages.Builder,ChannelMessages>
Specifies one or more sets of channel messages.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ChannelMessages.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ChannelMessages.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasS3Paths()
For responses, this returns true if the service returned a value for the S3Paths property.
|
List<String> |
s3Paths()
Specifies one or more keys that identify the Amazon Simple Storage Service (Amazon S3) objects that save your
channel messages.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ChannelMessages.Builder> |
serializableBuilderClass() |
ChannelMessages.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasS3Paths()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> s3Paths()
Specifies one or more keys that identify the Amazon Simple Storage Service (Amazon S3) objects that save your channel messages.
You must use the full path for the key.
Example path:
channel/mychannel/__dt=2020-02-29 00:00:00/1582940490000_1582940520000_123456789012_mychannel_0_2118.0.json.gz
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasS3Paths() method.
You must use the full path for the key.
Example path:
channel/mychannel/__dt=2020-02-29 00:00:00/1582940490000_1582940520000_123456789012_mychannel_0_2118.0.json.gz
public ChannelMessages.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ChannelMessages.Builder,ChannelMessages>public static ChannelMessages.Builder builder()
public static Class<? extends ChannelMessages.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.