@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetChannelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetChannelResult() |
Modifier and Type | Method and Description |
---|---|
GetChannelResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetChannelResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetChannelResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) associated with the resource.
|
String |
getChannelGroupName()
The name that describes the channel group.
|
String |
getChannelName()
The name that describes the channel.
|
Date |
getCreatedAt()
The date and time the channel was created.
|
String |
getDescription()
The description for your channel.
|
List<IngestEndpoint> |
getIngestEndpoints() |
Date |
getModifiedAt()
The date and time the channel was modified.
|
Map<String,String> |
getTags()
The comma-separated list of tag key:value pairs assigned to the channel.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) associated with the resource.
|
void |
setChannelGroupName(String channelGroupName)
The name that describes the channel group.
|
void |
setChannelName(String channelName)
The name that describes the channel.
|
void |
setCreatedAt(Date createdAt)
The date and time the channel was created.
|
void |
setDescription(String description)
The description for your channel.
|
void |
setIngestEndpoints(Collection<IngestEndpoint> ingestEndpoints) |
void |
setModifiedAt(Date modifiedAt)
The date and time the channel was modified.
|
void |
setTags(Map<String,String> tags)
The comma-separated list of tag key:value pairs assigned to the channel.
|
String |
toString()
Returns a string representation of this object.
|
GetChannelResult |
withArn(String arn)
The Amazon Resource Name (ARN) associated with the resource.
|
GetChannelResult |
withChannelGroupName(String channelGroupName)
The name that describes the channel group.
|
GetChannelResult |
withChannelName(String channelName)
The name that describes the channel.
|
GetChannelResult |
withCreatedAt(Date createdAt)
The date and time the channel was created.
|
GetChannelResult |
withDescription(String description)
The description for your channel.
|
GetChannelResult |
withIngestEndpoints(Collection<IngestEndpoint> ingestEndpoints) |
GetChannelResult |
withIngestEndpoints(IngestEndpoint... ingestEndpoints)
NOTE: This method appends the values to the existing list (if any).
|
GetChannelResult |
withModifiedAt(Date modifiedAt)
The date and time the channel was modified.
|
GetChannelResult |
withTags(Map<String,String> tags)
The comma-separated list of tag key:value pairs assigned to the channel.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The Amazon Resource Name (ARN) associated with the resource.
arn
- The Amazon Resource Name (ARN) associated with the resource.public String getArn()
The Amazon Resource Name (ARN) associated with the resource.
public GetChannelResult withArn(String arn)
The Amazon Resource Name (ARN) associated with the resource.
arn
- The Amazon Resource Name (ARN) associated with the resource.public void setChannelName(String channelName)
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
channelName
- The name that describes the channel. The name is the primary identifier for the channel, and must be
unique for your account in the AWS Region and channel group.public String getChannelName()
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
public GetChannelResult withChannelName(String channelName)
The name that describes the channel. The name is the primary identifier for the channel, and must be unique for your account in the AWS Region and channel group.
channelName
- The name that describes the channel. The name is the primary identifier for the channel, and must be
unique for your account in the AWS Region and channel group.public void setChannelGroupName(String channelGroupName)
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
channelGroupName
- The name that describes the channel group. The name is the primary identifier for the channel group, and
must be unique for your account in the AWS Region.public String getChannelGroupName()
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
public GetChannelResult withChannelGroupName(String channelGroupName)
The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region.
channelGroupName
- The name that describes the channel group. The name is the primary identifier for the channel group, and
must be unique for your account in the AWS Region.public void setCreatedAt(Date createdAt)
The date and time the channel was created.
createdAt
- The date and time the channel was created.public Date getCreatedAt()
The date and time the channel was created.
public GetChannelResult withCreatedAt(Date createdAt)
The date and time the channel was created.
createdAt
- The date and time the channel was created.public void setModifiedAt(Date modifiedAt)
The date and time the channel was modified.
modifiedAt
- The date and time the channel was modified.public Date getModifiedAt()
The date and time the channel was modified.
public GetChannelResult withModifiedAt(Date modifiedAt)
The date and time the channel was modified.
modifiedAt
- The date and time the channel was modified.public void setDescription(String description)
The description for your channel.
description
- The description for your channel.public String getDescription()
The description for your channel.
public GetChannelResult withDescription(String description)
The description for your channel.
description
- The description for your channel.public List<IngestEndpoint> getIngestEndpoints()
public void setIngestEndpoints(Collection<IngestEndpoint> ingestEndpoints)
ingestEndpoints
- public GetChannelResult withIngestEndpoints(IngestEndpoint... ingestEndpoints)
NOTE: This method appends the values to the existing list (if any). Use
setIngestEndpoints(java.util.Collection)
or withIngestEndpoints(java.util.Collection)
if you
want to override the existing values.
ingestEndpoints
- public GetChannelResult withIngestEndpoints(Collection<IngestEndpoint> ingestEndpoints)
ingestEndpoints
- public Map<String,String> getTags()
The comma-separated list of tag key:value pairs assigned to the channel.
public void setTags(Map<String,String> tags)
The comma-separated list of tag key:value pairs assigned to the channel.
tags
- The comma-separated list of tag key:value pairs assigned to the channel.public GetChannelResult withTags(Map<String,String> tags)
The comma-separated list of tag key:value pairs assigned to the channel.
tags
- The comma-separated list of tag key:value pairs assigned to the channel.public GetChannelResult addTagsEntry(String key, String value)
public GetChannelResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetChannelResult clone()