Class ChannelMessages
- java.lang.Object
-
- software.amazon.awssdk.services.iotanalytics.model.ChannelMessages
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ChannelMessages.Builder,ChannelMessages>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceChannelMessages.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChannelMessages.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasS3Paths()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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ChannelMessages.Builder>serializableBuilderClass()ChannelMessages.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
hasS3Paths
public final boolean hasS3Paths()
For responses, this returns true if the service returned a value for the S3Paths property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
s3Paths
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.gzAttempts 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.- Returns:
- 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
-
toBuilder
public ChannelMessages.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ChannelMessages.Builder,ChannelMessages>
-
builder
public static ChannelMessages.Builder builder()
-
serializableBuilderClass
public static Class<? extends ChannelMessages.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-