@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateChannelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateChannelResult() |
Modifier and Type | Method and Description |
---|---|
UpdateChannelResult |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the channel that was updated.
|
List<Destination> |
getDestinations()
The event data stores that log events arriving through the channel.
|
String |
getName()
The name of the channel that was updated.
|
String |
getSource()
The event source of the channel that was updated.
|
int |
hashCode() |
void |
setChannelArn(String channelArn)
The ARN of the channel that was updated.
|
void |
setDestinations(Collection<Destination> destinations)
The event data stores that log events arriving through the channel.
|
void |
setName(String name)
The name of the channel that was updated.
|
void |
setSource(String source)
The event source of the channel that was updated.
|
String |
toString()
Returns a string representation of this object.
|
UpdateChannelResult |
withChannelArn(String channelArn)
The ARN of the channel that was updated.
|
UpdateChannelResult |
withDestinations(Collection<Destination> destinations)
The event data stores that log events arriving through the channel.
|
UpdateChannelResult |
withDestinations(Destination... destinations)
The event data stores that log events arriving through the channel.
|
UpdateChannelResult |
withName(String name)
The name of the channel that was updated.
|
UpdateChannelResult |
withSource(String source)
The event source of the channel that was updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setChannelArn(String channelArn)
The ARN of the channel that was updated.
channelArn
- The ARN of the channel that was updated.public String getChannelArn()
The ARN of the channel that was updated.
public UpdateChannelResult withChannelArn(String channelArn)
The ARN of the channel that was updated.
channelArn
- The ARN of the channel that was updated.public void setName(String name)
The name of the channel that was updated.
name
- The name of the channel that was updated.public String getName()
The name of the channel that was updated.
public UpdateChannelResult withName(String name)
The name of the channel that was updated.
name
- The name of the channel that was updated.public void setSource(String source)
The event source of the channel that was updated.
source
- The event source of the channel that was updated.public String getSource()
The event source of the channel that was updated.
public UpdateChannelResult withSource(String source)
The event source of the channel that was updated.
source
- The event source of the channel that was updated.public List<Destination> getDestinations()
The event data stores that log events arriving through the channel.
public void setDestinations(Collection<Destination> destinations)
The event data stores that log events arriving through the channel.
destinations
- The event data stores that log events arriving through the channel.public UpdateChannelResult withDestinations(Destination... destinations)
The event data stores that log 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 events arriving through the channel.public UpdateChannelResult withDestinations(Collection<Destination> destinations)
The event data stores that log events arriving through the channel.
destinations
- The event data stores that log events arriving through the channel.public String toString()
toString
in class Object
Object.toString()
public UpdateChannelResult clone()