@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Log configuration details.
Constructor and Description |
---|
LogConfiguration() |
Modifier and Type | Method and Description |
---|---|
LogConfiguration |
addOptionsEntry(String key,
String value)
Add a single Options entry
|
LogConfiguration |
addParametersEntry(String key,
String value)
Add a single Parameters entry
|
LogConfiguration |
clearOptionsEntries()
Removes all the entries added into Options.
|
LogConfiguration |
clearParametersEntries()
Removes all the entries added into Parameters.
|
LogConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getError()
The log configuration error details.
|
String |
getLogDriver()
The log drivers for worker related logs.
|
Map<String,String> |
getOptions()
The options for a log driver.
|
Map<String,String> |
getParameters()
The parameters for the log configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setError(String error)
The log configuration error details.
|
void |
setLogDriver(String logDriver)
The log drivers for worker related logs.
|
void |
setOptions(Map<String,String> options)
The options for a log driver.
|
void |
setParameters(Map<String,String> parameters)
The parameters for the log configuration.
|
String |
toString()
Returns a string representation of this object.
|
LogConfiguration |
withError(String error)
The log configuration error details.
|
LogConfiguration |
withLogDriver(String logDriver)
The log drivers for worker related logs.
|
LogConfiguration |
withOptions(Map<String,String> options)
The options for a log driver.
|
LogConfiguration |
withParameters(Map<String,String> parameters)
The parameters for the log configuration.
|
public void setError(String error)
The log configuration error details.
error
- The log configuration error details.public String getError()
The log configuration error details.
public LogConfiguration withError(String error)
The log configuration error details.
error
- The log configuration error details.public void setLogDriver(String logDriver)
The log drivers for worker related logs.
logDriver
- The log drivers for worker related logs.public String getLogDriver()
The log drivers for worker related logs.
public LogConfiguration withLogDriver(String logDriver)
The log drivers for worker related logs.
logDriver
- The log drivers for worker related logs.public Map<String,String> getOptions()
The options for a log driver.
public void setOptions(Map<String,String> options)
The options for a log driver.
options
- The options for a log driver.public LogConfiguration withOptions(Map<String,String> options)
The options for a log driver.
options
- The options for a log driver.public LogConfiguration addOptionsEntry(String key, String value)
public LogConfiguration clearOptionsEntries()
public Map<String,String> getParameters()
The parameters for the log configuration.
public void setParameters(Map<String,String> parameters)
The parameters for the log configuration.
parameters
- The parameters for the log configuration.public LogConfiguration withParameters(Map<String,String> parameters)
The parameters for the log configuration.
parameters
- The parameters for the log configuration.public LogConfiguration addParametersEntry(String key, String value)
public LogConfiguration clearParametersEntries()
public String toString()
toString
in class Object
Object.toString()
public LogConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.