@Generated(value="software.amazon.awssdk:codegen") public final class ChannelSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChannelSummary.Builder,ChannelSummary>
A summary of information about a channel.
Modifier and Type | Class and Description |
---|---|
static interface |
ChannelSummary.Builder |
Modifier and Type | Method and Description |
---|---|
static ChannelSummary.Builder |
builder() |
String |
channelName()
The name of the channel.
|
Instant |
creationTime()
When the channel was created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdateTime()
The last time the channel was updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ChannelSummary.Builder> |
serializableBuilderClass() |
ChannelStatus |
status()
The status of the channel.
|
String |
statusAsString()
The status of the channel.
|
ChannelSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String channelName()
The name of the channel.
public ChannelStatus status()
The status of the channel.
If the service returns an enum value that is not available in the current SDK version, status
will
return ChannelStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
ChannelStatus
public String statusAsString()
The status of the channel.
If the service returns an enum value that is not available in the current SDK version, status
will
return ChannelStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
ChannelStatus
public Instant creationTime()
When the channel was created.
public Instant lastUpdateTime()
The last time the channel was updated.
public ChannelSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ChannelSummary.Builder,ChannelSummary>
public static ChannelSummary.Builder builder()
public static Class<? extends ChannelSummary.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.