@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetV2LoggingOptionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetV2LoggingOptionsResult() |
| Modifier and Type | Method and Description |
|---|---|
GetV2LoggingOptionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultLogLevel()
The default log level.
|
Boolean |
getDisableAllLogs()
Disables all logs.
|
String |
getRoleArn()
The IAM role ARN IoT uses to write to your CloudWatch logs.
|
int |
hashCode() |
Boolean |
isDisableAllLogs()
Disables all logs.
|
void |
setDefaultLogLevel(String defaultLogLevel)
The default log level.
|
void |
setDisableAllLogs(Boolean disableAllLogs)
Disables all logs.
|
void |
setRoleArn(String roleArn)
The IAM role ARN IoT uses to write to your CloudWatch logs.
|
String |
toString()
Returns a string representation of this object.
|
GetV2LoggingOptionsResult |
withDefaultLogLevel(LogLevel defaultLogLevel)
The default log level.
|
GetV2LoggingOptionsResult |
withDefaultLogLevel(String defaultLogLevel)
The default log level.
|
GetV2LoggingOptionsResult |
withDisableAllLogs(Boolean disableAllLogs)
Disables all logs.
|
GetV2LoggingOptionsResult |
withRoleArn(String roleArn)
The IAM role ARN IoT uses to write to your CloudWatch logs.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setRoleArn(String roleArn)
The IAM role ARN IoT uses to write to your CloudWatch logs.
roleArn - The IAM role ARN IoT uses to write to your CloudWatch logs.public String getRoleArn()
The IAM role ARN IoT uses to write to your CloudWatch logs.
public GetV2LoggingOptionsResult withRoleArn(String roleArn)
The IAM role ARN IoT uses to write to your CloudWatch logs.
roleArn - The IAM role ARN IoT uses to write to your CloudWatch logs.public void setDefaultLogLevel(String defaultLogLevel)
The default log level.
defaultLogLevel - The default log level.LogLevelpublic String getDefaultLogLevel()
The default log level.
LogLevelpublic GetV2LoggingOptionsResult withDefaultLogLevel(String defaultLogLevel)
The default log level.
defaultLogLevel - The default log level.LogLevelpublic GetV2LoggingOptionsResult withDefaultLogLevel(LogLevel defaultLogLevel)
The default log level.
defaultLogLevel - The default log level.LogLevelpublic void setDisableAllLogs(Boolean disableAllLogs)
Disables all logs.
disableAllLogs - Disables all logs.public Boolean getDisableAllLogs()
Disables all logs.
public GetV2LoggingOptionsResult withDisableAllLogs(Boolean disableAllLogs)
Disables all logs.
disableAllLogs - Disables all logs.public Boolean isDisableAllLogs()
Disables all logs.
public String toString()
toString in class ObjectObject.toString()public GetV2LoggingOptionsResult clone()
Copyright © 2022. All rights reserved.