public class SetV2LoggingLevelRequest extends AmazonWebServiceRequest implements java.io.Serializable
Sets the logging level.
Constructor and Description |
---|
SetV2LoggingLevelRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLogLevel()
The log level.
|
LogTarget |
getLogTarget()
The log target.
|
int |
hashCode() |
void |
setLogLevel(LogLevel logLevel)
The log level.
|
void |
setLogLevel(java.lang.String logLevel)
The log level.
|
void |
setLogTarget(LogTarget logTarget)
The log target.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetV2LoggingLevelRequest |
withLogLevel(LogLevel logLevel)
The log level.
|
SetV2LoggingLevelRequest |
withLogLevel(java.lang.String logLevel)
The log level.
|
SetV2LoggingLevelRequest |
withLogTarget(LogTarget logTarget)
The log target.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public LogTarget getLogTarget()
The log target.
The log target.
public void setLogTarget(LogTarget logTarget)
The log target.
logTarget
- The log target.
public SetV2LoggingLevelRequest withLogTarget(LogTarget logTarget)
The log target.
Returns a reference to this object so that method calls can be chained together.
logTarget
- The log target.
public java.lang.String getLogLevel()
The log level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
The log level.
LogLevel
public void setLogLevel(java.lang.String logLevel)
The log level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel
- The log level.
LogLevel
public SetV2LoggingLevelRequest withLogLevel(java.lang.String logLevel)
The log level.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel
- The log level.
LogLevel
public void setLogLevel(LogLevel logLevel)
The log level.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel
- The log level.
LogLevel
public SetV2LoggingLevelRequest withLogLevel(LogLevel logLevel)
The log level.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEBUG, INFO, ERROR, WARN, DISABLED
logLevel
- The log level.
LogLevel
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.