@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigureLogsForChannelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ConfigureLogsForChannelRequest() |
| Modifier and Type | Method and Description |
|---|---|
ConfigureLogsForChannelRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getChannelName()
The name of the channel.
|
List<String> |
getLogTypes()
The types of logs to collect.
|
int |
hashCode() |
void |
setChannelName(String channelName)
The name of the channel.
|
void |
setLogTypes(Collection<String> logTypes)
The types of logs to collect.
|
String |
toString()
Returns a string representation of this object.
|
ConfigureLogsForChannelRequest |
withChannelName(String channelName)
The name of the channel.
|
ConfigureLogsForChannelRequest |
withLogTypes(Collection<String> logTypes)
The types of logs to collect.
|
ConfigureLogsForChannelRequest |
withLogTypes(LogType... logTypes)
The types of logs to collect.
|
ConfigureLogsForChannelRequest |
withLogTypes(String... logTypes)
The types of logs to collect.
|
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, withSdkRequestTimeoutpublic void setChannelName(String channelName)
The name of the channel.
channelName - The name of the channel.public String getChannelName()
The name of the channel.
public ConfigureLogsForChannelRequest withChannelName(String channelName)
The name of the channel.
channelName - The name of the channel.public List<String> getLogTypes()
The types of logs to collect.
LogTypepublic void setLogTypes(Collection<String> logTypes)
The types of logs to collect.
logTypes - The types of logs to collect.LogTypepublic ConfigureLogsForChannelRequest withLogTypes(String... logTypes)
The types of logs to collect.
NOTE: This method appends the values to the existing list (if any). Use
setLogTypes(java.util.Collection) or withLogTypes(java.util.Collection) if you want to override
the existing values.
logTypes - The types of logs to collect.LogTypepublic ConfigureLogsForChannelRequest withLogTypes(Collection<String> logTypes)
The types of logs to collect.
logTypes - The types of logs to collect.LogTypepublic ConfigureLogsForChannelRequest withLogTypes(LogType... logTypes)
The types of logs to collect.
logTypes - The types of logs to collect.LogTypepublic String toString()
toString in class ObjectObject.toString()public ConfigureLogsForChannelRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()