@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateChannelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateChannelResult() |
Modifier and Type | Method and Description |
---|---|
CreateChannelResult |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The Amazon Resource Name (ARN) of the new channel.
|
List<Destination> |
getDestinations()
The event data stores that log the events arriving through the channel.
|
String |
getName()
The name of the new channel.
|
String |
getSource()
The partner or external event source name.
|
List<Tag> |
getTags() |
int |
hashCode() |
void |
setChannelArn(String channelArn)
The Amazon Resource Name (ARN) of the new channel.
|
void |
setDestinations(Collection<Destination> destinations)
The event data stores that log the events arriving through the channel.
|
void |
setName(String name)
The name of the new channel.
|
void |
setSource(String source)
The partner or external event source name.
|
void |
setTags(Collection<Tag> tags) |
String |
toString()
Returns a string representation of this object.
|
CreateChannelResult |
withChannelArn(String channelArn)
The Amazon Resource Name (ARN) of the new channel.
|
CreateChannelResult |
withDestinations(Collection<Destination> destinations)
The event data stores that log the events arriving through the channel.
|
CreateChannelResult |
withDestinations(Destination... destinations)
The event data stores that log the events arriving through the channel.
|
CreateChannelResult |
withName(String name)
The name of the new channel.
|
CreateChannelResult |
withSource(String source)
The partner or external event source name.
|
CreateChannelResult |
withTags(Collection<Tag> tags) |
CreateChannelResult |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setChannelArn(String channelArn)
The Amazon Resource Name (ARN) of the new channel.
channelArn
- The Amazon Resource Name (ARN) of the new channel.public String getChannelArn()
The Amazon Resource Name (ARN) of the new channel.
public CreateChannelResult withChannelArn(String channelArn)
The Amazon Resource Name (ARN) of the new channel.
channelArn
- The Amazon Resource Name (ARN) of the new channel.public void setName(String name)
The name of the new channel.
name
- The name of the new channel.public String getName()
The name of the new channel.
public CreateChannelResult withName(String name)
The name of the new channel.
name
- The name of the new channel.public void setSource(String source)
The partner or external event source name.
source
- The partner or external event source name.public String getSource()
The partner or external event source name.
public CreateChannelResult withSource(String source)
The partner or external event source name.
source
- The partner or external event source name.public List<Destination> getDestinations()
The event data stores that log the events arriving through the channel.
public void setDestinations(Collection<Destination> destinations)
The event data stores that log the events arriving through the channel.
destinations
- The event data stores that log the events arriving through the channel.public CreateChannelResult withDestinations(Destination... destinations)
The event data stores that log the events arriving through the channel.
NOTE: This method appends the values to the existing list (if any). Use
setDestinations(java.util.Collection)
or withDestinations(java.util.Collection)
if you want to
override the existing values.
destinations
- The event data stores that log the events arriving through the channel.public CreateChannelResult withDestinations(Collection<Destination> destinations)
The event data stores that log the events arriving through the channel.
destinations
- The event data stores that log the events arriving through the channel.public void setTags(Collection<Tag> tags)
tags
- public CreateChannelResult withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- public CreateChannelResult withTags(Collection<Tag> tags)
tags
- public String toString()
toString
in class Object
Object.toString()
public CreateChannelResult clone()