@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoggingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The LoggingConfiguration
data type is used to set CloudWatch Logs options.
Constructor and Description |
---|
LoggingConfiguration() |
Modifier and Type | Method and Description |
---|---|
LoggingConfiguration |
clone() |
boolean |
equals(Object obj) |
List<LogDestination> |
getDestinations()
An array of objects that describes where your execution history events will be logged.
|
Boolean |
getIncludeExecutionData()
Determines whether execution data is included in your log.
|
String |
getLevel()
Defines which category of execution history events are logged.
|
int |
hashCode() |
Boolean |
isIncludeExecutionData()
Determines whether execution data is included in your log.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDestinations(Collection<LogDestination> destinations)
An array of objects that describes where your execution history events will be logged.
|
void |
setIncludeExecutionData(Boolean includeExecutionData)
Determines whether execution data is included in your log.
|
void |
setLevel(String level)
Defines which category of execution history events are logged.
|
String |
toString()
Returns a string representation of this object.
|
LoggingConfiguration |
withDestinations(Collection<LogDestination> destinations)
An array of objects that describes where your execution history events will be logged.
|
LoggingConfiguration |
withDestinations(LogDestination... destinations)
An array of objects that describes where your execution history events will be logged.
|
LoggingConfiguration |
withIncludeExecutionData(Boolean includeExecutionData)
Determines whether execution data is included in your log.
|
LoggingConfiguration |
withLevel(LogLevel level)
Defines which category of execution history events are logged.
|
LoggingConfiguration |
withLevel(String level)
Defines which category of execution history events are logged.
|
public void setLevel(String level)
Defines which category of execution history events are logged.
level
- Defines which category of execution history events are logged.LogLevel
public String getLevel()
Defines which category of execution history events are logged.
LogLevel
public LoggingConfiguration withLevel(String level)
Defines which category of execution history events are logged.
level
- Defines which category of execution history events are logged.LogLevel
public LoggingConfiguration withLevel(LogLevel level)
Defines which category of execution history events are logged.
level
- Defines which category of execution history events are logged.LogLevel
public void setIncludeExecutionData(Boolean includeExecutionData)
Determines whether execution data is included in your log. When set to false
, data is excluded.
includeExecutionData
- Determines whether execution data is included in your log. When set to false
, data is
excluded.public Boolean getIncludeExecutionData()
Determines whether execution data is included in your log. When set to false
, data is excluded.
false
, data is
excluded.public LoggingConfiguration withIncludeExecutionData(Boolean includeExecutionData)
Determines whether execution data is included in your log. When set to false
, data is excluded.
includeExecutionData
- Determines whether execution data is included in your log. When set to false
, data is
excluded.public Boolean isIncludeExecutionData()
Determines whether execution data is included in your log. When set to false
, data is excluded.
false
, data is
excluded.public List<LogDestination> getDestinations()
An array of objects that describes where your execution history events will be logged. Limited to size 1.
Required, if your log level is not set to OFF
.
OFF
.public void setDestinations(Collection<LogDestination> destinations)
An array of objects that describes where your execution history events will be logged. Limited to size 1.
Required, if your log level is not set to OFF
.
destinations
- An array of objects that describes where your execution history events will be logged. Limited to size 1.
Required, if your log level is not set to OFF
.public LoggingConfiguration withDestinations(LogDestination... destinations)
An array of objects that describes where your execution history events will be logged. Limited to size 1.
Required, if your log level is not set to OFF
.
NOTE: This method appends the values to the existing list (if any). Use
setDestinations(java.util.Collection)
or withDestinations(java.util.Collection)
if you want to
override the existing values.
destinations
- An array of objects that describes where your execution history events will be logged. Limited to size 1.
Required, if your log level is not set to OFF
.public LoggingConfiguration withDestinations(Collection<LogDestination> destinations)
An array of objects that describes where your execution history events will be logged. Limited to size 1.
Required, if your log level is not set to OFF
.
destinations
- An array of objects that describes where your execution history events will be logged. Limited to size 1.
Required, if your log level is not set to OFF
.public String toString()
toString
in class Object
Object.toString()
public LoggingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.