@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetV2LoggingOptionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
SetV2LoggingOptionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
SetV2LoggingOptionsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultLogLevel()
The default logging level.
|
Boolean |
getDisableAllLogs()
Set to true to disable all logs, otherwise set to false.
|
String |
getRoleArn()
The role ARN that allows IoT to write to Cloudwatch logs.
|
int |
hashCode() |
Boolean |
isDisableAllLogs()
Set to true to disable all logs, otherwise set to false.
|
void |
setDefaultLogLevel(String defaultLogLevel)
The default logging level.
|
void |
setDisableAllLogs(Boolean disableAllLogs)
Set to true to disable all logs, otherwise set to false.
|
void |
setRoleArn(String roleArn)
The role ARN that allows IoT to write to Cloudwatch logs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SetV2LoggingOptionsRequest |
withDefaultLogLevel(LogLevel defaultLogLevel)
The default logging level.
|
SetV2LoggingOptionsRequest |
withDefaultLogLevel(String defaultLogLevel)
The default logging level.
|
SetV2LoggingOptionsRequest |
withDisableAllLogs(Boolean disableAllLogs)
Set to true to disable all logs, otherwise set to false.
|
SetV2LoggingOptionsRequest |
withRoleArn(String roleArn)
The role ARN that allows IoT to write to Cloudwatch logs.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setRoleArn(String roleArn)
The role ARN that allows IoT to write to Cloudwatch logs.
roleArn - The role ARN that allows IoT to write to Cloudwatch logs.public String getRoleArn()
The role ARN that allows IoT to write to Cloudwatch logs.
public SetV2LoggingOptionsRequest withRoleArn(String roleArn)
The role ARN that allows IoT to write to Cloudwatch logs.
roleArn - The role ARN that allows IoT to write to Cloudwatch logs.public void setDefaultLogLevel(String defaultLogLevel)
The default logging level.
defaultLogLevel - The default logging level.LogLevelpublic String getDefaultLogLevel()
The default logging level.
LogLevelpublic SetV2LoggingOptionsRequest withDefaultLogLevel(String defaultLogLevel)
The default logging level.
defaultLogLevel - The default logging level.LogLevelpublic SetV2LoggingOptionsRequest withDefaultLogLevel(LogLevel defaultLogLevel)
The default logging level.
defaultLogLevel - The default logging level.LogLevelpublic void setDisableAllLogs(Boolean disableAllLogs)
Set to true to disable all logs, otherwise set to false.
disableAllLogs - Set to true to disable all logs, otherwise set to false.public Boolean getDisableAllLogs()
Set to true to disable all logs, otherwise set to false.
public SetV2LoggingOptionsRequest withDisableAllLogs(Boolean disableAllLogs)
Set to true to disable all logs, otherwise set to false.
disableAllLogs - Set to true to disable all logs, otherwise set to false.public Boolean isDisableAllLogs()
Set to true to disable all logs, otherwise set to false.
public String toString()
toString in class ObjectObject.toString()public SetV2LoggingOptionsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.