@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogConfigurationForChannel extends Object implements Serializable, Cloneable, StructuredPojo
The log configuration for the channel.
Constructor and Description |
---|
LogConfigurationForChannel() |
Modifier and Type | Method and Description |
---|---|
LogConfigurationForChannel |
clone() |
boolean |
equals(Object obj) |
List<String> |
getLogTypes()
The log types.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLogTypes(Collection<String> logTypes)
The log types.
|
String |
toString()
Returns a string representation of this object.
|
LogConfigurationForChannel |
withLogTypes(Collection<String> logTypes)
The log types.
|
LogConfigurationForChannel |
withLogTypes(LogType... logTypes)
The log types.
|
LogConfigurationForChannel |
withLogTypes(String... logTypes)
The log types.
|
public List<String> getLogTypes()
The log types.
LogType
public void setLogTypes(Collection<String> logTypes)
The log types.
logTypes
- The log types.LogType
public LogConfigurationForChannel withLogTypes(String... logTypes)
The log types.
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 log types.LogType
public LogConfigurationForChannel withLogTypes(Collection<String> logTypes)
The log types.
logTypes
- The log types.LogType
public LogConfigurationForChannel withLogTypes(LogType... logTypes)
The log types.
logTypes
- The log types.LogType
public String toString()
toString
in class Object
Object.toString()
public LogConfigurationForChannel clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.