@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, withSdkRequestTimeout
public 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.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)
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 Object
Object.toString()
public SetV2LoggingOptionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()