@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDefaultLogLevel()
The default logging level.
|
Boolean |
getDisableAllLogs()
If true all logs are disabled.
|
String |
getRoleArn()
The ARN of the role that allows IoT to write to Cloudwatch logs.
|
int |
hashCode() |
Boolean |
isDisableAllLogs()
If true all logs are disabled.
|
void |
setDefaultLogLevel(String defaultLogLevel)
The default logging level.
|
void |
setDisableAllLogs(Boolean disableAllLogs)
If true all logs are disabled.
|
void |
setRoleArn(String roleArn)
The ARN of the role that allows IoT to write to Cloudwatch logs.
|
String |
toString()
Returns a string representation of this object.
|
SetV2LoggingOptionsRequest |
withDefaultLogLevel(LogLevel defaultLogLevel)
The default logging level.
|
SetV2LoggingOptionsRequest |
withDefaultLogLevel(String defaultLogLevel)
The default logging level.
|
SetV2LoggingOptionsRequest |
withDisableAllLogs(Boolean disableAllLogs)
If true all logs are disabled.
|
SetV2LoggingOptionsRequest |
withRoleArn(String roleArn)
The ARN of the role that allows IoT to write to Cloudwatch logs.
|
addHandlerContext, 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 ARN of the role that allows IoT to write to Cloudwatch logs.
roleArn - The ARN of the role that allows IoT to write to Cloudwatch logs.public String getRoleArn()
The ARN of the role that allows IoT to write to Cloudwatch logs.
public SetV2LoggingOptionsRequest withRoleArn(String roleArn)
The ARN of the role that allows IoT to write to Cloudwatch logs.
roleArn - The ARN of the role 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)
If true all logs are disabled. The default is false.
disableAllLogs - If true all logs are disabled. The default is false.public Boolean getDisableAllLogs()
If true all logs are disabled. The default is false.
public SetV2LoggingOptionsRequest withDisableAllLogs(Boolean disableAllLogs)
If true all logs are disabled. The default is false.
disableAllLogs - If true all logs are disabled. The default is false.public Boolean isDisableAllLogs()
If true all logs are disabled. The default is false.
public String toString()
toString in class ObjectObject.toString()public SetV2LoggingOptionsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()