@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigureLogsForChannelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ConfigureLogsForChannelResult() |
Modifier and Type | Method and Description |
---|---|
ConfigureLogsForChannelResult |
clone() |
boolean |
equals(Object obj) |
String |
getChannelName()
The name of the channel.
|
List<String> |
getLogTypes()
The types of logs collected.
|
int |
hashCode() |
void |
setChannelName(String channelName)
The name of the channel.
|
void |
setLogTypes(Collection<String> logTypes)
The types of logs collected.
|
String |
toString()
Returns a string representation of this object.
|
ConfigureLogsForChannelResult |
withChannelName(String channelName)
The name of the channel.
|
ConfigureLogsForChannelResult |
withLogTypes(Collection<String> logTypes)
The types of logs collected.
|
ConfigureLogsForChannelResult |
withLogTypes(LogType... logTypes)
The types of logs collected.
|
ConfigureLogsForChannelResult |
withLogTypes(String... logTypes)
The types of logs collected.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 ConfigureLogsForChannelResult withChannelName(String channelName)
The name of the channel.
channelName
- The name of the channel.public List<String> getLogTypes()
The types of logs collected.
LogType
public void setLogTypes(Collection<String> logTypes)
The types of logs collected.
logTypes
- The types of logs collected.LogType
public ConfigureLogsForChannelResult withLogTypes(String... logTypes)
The types of logs collected.
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 collected.LogType
public ConfigureLogsForChannelResult withLogTypes(Collection<String> logTypes)
The types of logs collected.
logTypes
- The types of logs collected.LogType
public ConfigureLogsForChannelResult withLogTypes(LogType... logTypes)
The types of logs collected.
logTypes
- The types of logs collected.LogType
public String toString()
toString
in class Object
Object.toString()
public ConfigureLogsForChannelResult clone()