@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, withSdkRequestTimeout
public 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.
LogType
public void setLogTypes(Collection<String> logTypes)
The types of logs to collect.
logTypes
- The types of logs to collect.LogType
public 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.LogType
public ConfigureLogsForChannelRequest withLogTypes(Collection<String> logTypes)
The types of logs to collect.
logTypes
- The types of logs to collect.LogType
public ConfigureLogsForChannelRequest withLogTypes(LogType... logTypes)
The types of logs to collect.
logTypes
- The types of logs to collect.LogType
public String toString()
toString
in class Object
Object.toString()
public ConfigureLogsForChannelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()