@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, withSdkRequestTimeout
public 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.LogLevel
public String getDefaultLogLevel()
The default logging level.
LogLevel
public SetV2LoggingOptionsRequest withDefaultLogLevel(String defaultLogLevel)
The default logging level.
defaultLogLevel
- The default logging level.LogLevel
public SetV2LoggingOptionsRequest withDefaultLogLevel(LogLevel defaultLogLevel)
The default logging level.
defaultLogLevel
- The default logging level.LogLevel
public 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 Object
Object.toString()
public SetV2LoggingOptionsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2017. All rights reserved.