@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChannelSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of information about a channel.
Constructor and Description |
---|
ChannelSummary() |
Modifier and Type | Method and Description |
---|---|
ChannelSummary |
clone() |
boolean |
equals(Object obj) |
String |
getChannelName()
The name of the channel.
|
ChannelStorageSummary |
getChannelStorage()
Where channel data is stored.
|
Date |
getCreationTime()
When the channel was created.
|
Date |
getLastMessageArrivalTime()
The last time when a new message arrived in the channel.
|
Date |
getLastUpdateTime()
The last time the channel was updated.
|
String |
getStatus()
The status of the channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannelName(String channelName)
The name of the channel.
|
void |
setChannelStorage(ChannelStorageSummary channelStorage)
Where channel data is stored.
|
void |
setCreationTime(Date creationTime)
When the channel was created.
|
void |
setLastMessageArrivalTime(Date lastMessageArrivalTime)
The last time when a new message arrived in the channel.
|
void |
setLastUpdateTime(Date lastUpdateTime)
The last time the channel was updated.
|
void |
setStatus(String status)
The status of the channel.
|
String |
toString()
Returns a string representation of this object.
|
ChannelSummary |
withChannelName(String channelName)
The name of the channel.
|
ChannelSummary |
withChannelStorage(ChannelStorageSummary channelStorage)
Where channel data is stored.
|
ChannelSummary |
withCreationTime(Date creationTime)
When the channel was created.
|
ChannelSummary |
withLastMessageArrivalTime(Date lastMessageArrivalTime)
The last time when a new message arrived in the channel.
|
ChannelSummary |
withLastUpdateTime(Date lastUpdateTime)
The last time the channel was updated.
|
ChannelSummary |
withStatus(ChannelStatus status)
The status of the channel.
|
ChannelSummary |
withStatus(String status)
The status of the channel.
|
public void setChannelName(String channelName)
The name of the channel.
channelName
- The name of the channel.public String getChannelName()
The name of the channel.
public ChannelSummary withChannelName(String channelName)
The name of the channel.
channelName
- The name of the channel.public void setChannelStorage(ChannelStorageSummary channelStorage)
Where channel data is stored.
channelStorage
- Where channel data is stored.public ChannelStorageSummary getChannelStorage()
Where channel data is stored.
public ChannelSummary withChannelStorage(ChannelStorageSummary channelStorage)
Where channel data is stored.
channelStorage
- Where channel data is stored.public void setStatus(String status)
The status of the channel.
status
- The status of the channel.ChannelStatus
public String getStatus()
The status of the channel.
ChannelStatus
public ChannelSummary withStatus(String status)
The status of the channel.
status
- The status of the channel.ChannelStatus
public ChannelSummary withStatus(ChannelStatus status)
The status of the channel.
status
- The status of the channel.ChannelStatus
public void setCreationTime(Date creationTime)
When the channel was created.
creationTime
- When the channel was created.public Date getCreationTime()
When the channel was created.
public ChannelSummary withCreationTime(Date creationTime)
When the channel was created.
creationTime
- When the channel was created.public void setLastUpdateTime(Date lastUpdateTime)
The last time the channel was updated.
lastUpdateTime
- The last time the channel was updated.public Date getLastUpdateTime()
The last time the channel was updated.
public ChannelSummary withLastUpdateTime(Date lastUpdateTime)
The last time the channel was updated.
lastUpdateTime
- The last time the channel was updated.public void setLastMessageArrivalTime(Date lastMessageArrivalTime)
The last time when a new message arrived in the channel.
IoT Analytics updates this value at most once per minute for one channel. Hence, the
lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
lastMessageArrivalTime
- The last time when a new message arrived in the channel.
IoT Analytics updates this value at most once per minute for one channel. Hence, the
lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
public Date getLastMessageArrivalTime()
The last time when a new message arrived in the channel.
IoT Analytics updates this value at most once per minute for one channel. Hence, the
lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
IoT Analytics updates this value at most once per minute for one channel. Hence, the
lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
public ChannelSummary withLastMessageArrivalTime(Date lastMessageArrivalTime)
The last time when a new message arrived in the channel.
IoT Analytics updates this value at most once per minute for one channel. Hence, the
lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
lastMessageArrivalTime
- The last time when a new message arrived in the channel.
IoT Analytics updates this value at most once per minute for one channel. Hence, the
lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
public String toString()
toString
in class Object
Object.toString()
public ChannelSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.