@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateChannelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateChannelRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateChannelRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getChannel()
The ARN or ID (the ARN suffix) of the channel that you want to update.
|
List<Destination> |
getDestinations()
The ARNs of event data stores that you want to log events arriving through the channel.
|
String |
getName()
Changes the name of the channel.
|
int |
hashCode() |
void |
setChannel(String channel)
The ARN or ID (the ARN suffix) of the channel that you want to update.
|
void |
setDestinations(Collection<Destination> destinations)
The ARNs of event data stores that you want to log events arriving through the channel.
|
void |
setName(String name)
Changes the name of the channel.
|
String |
toString()
Returns a string representation of this object.
|
UpdateChannelRequest |
withChannel(String channel)
The ARN or ID (the ARN suffix) of the channel that you want to update.
|
UpdateChannelRequest |
withDestinations(Collection<Destination> destinations)
The ARNs of event data stores that you want to log events arriving through the channel.
|
UpdateChannelRequest |
withDestinations(Destination... destinations)
The ARNs of event data stores that you want to log events arriving through the channel.
|
UpdateChannelRequest |
withName(String name)
Changes the name of the channel.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setChannel(String channel)
The ARN or ID (the ARN suffix) of the channel that you want to update.
channel
- The ARN or ID (the ARN suffix) of the channel that you want to update.public String getChannel()
The ARN or ID (the ARN suffix) of the channel that you want to update.
public UpdateChannelRequest withChannel(String channel)
The ARN or ID (the ARN suffix) of the channel that you want to update.
channel
- The ARN or ID (the ARN suffix) of the channel that you want to update.public List<Destination> getDestinations()
The ARNs of event data stores that you want to log events arriving through the channel.
public void setDestinations(Collection<Destination> destinations)
The ARNs of event data stores that you want to log events arriving through the channel.
destinations
- The ARNs of event data stores that you want to log events arriving through the channel.public UpdateChannelRequest withDestinations(Destination... destinations)
The ARNs of event data stores that you want to 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 ARNs of event data stores that you want to log events arriving through the channel.public UpdateChannelRequest withDestinations(Collection<Destination> destinations)
The ARNs of event data stores that you want to log events arriving through the channel.
destinations
- The ARNs of event data stores that you want to log events arriving through the channel.public void setName(String name)
Changes the name of the channel.
name
- Changes the name of the channel.public String getName()
Changes the name of the channel.
public UpdateChannelRequest withName(String name)
Changes the name of the channel.
name
- Changes the name of the channel.public String toString()
toString
in class Object
Object.toString()
public UpdateChannelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()