@Generated(value="software.amazon.awssdk:codegen") public final class SetV2LoggingOptionsRequest extends IotRequest implements ToCopyableBuilder<SetV2LoggingOptionsRequest.Builder,SetV2LoggingOptionsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
SetV2LoggingOptionsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static SetV2LoggingOptionsRequest.Builder |
builder() |
LogLevel |
defaultLogLevel()
The default logging level.
|
String |
defaultLogLevelAsString()
The default logging level.
|
Boolean |
disableAllLogs()
If true all logs are disabled.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
roleArn()
The ARN of the role that allows IoT to write to Cloudwatch logs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SetV2LoggingOptionsRequest.Builder> |
serializableBuilderClass() |
SetV2LoggingOptionsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String roleArn()
The ARN of the role that allows IoT to write to Cloudwatch logs.
public final LogLevel defaultLogLevel()
The default logging level.
If the service returns an enum value that is not available in the current SDK version, defaultLogLevel
will return LogLevel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
defaultLogLevelAsString()
.
LogLevel
public final String defaultLogLevelAsString()
The default logging level.
If the service returns an enum value that is not available in the current SDK version, defaultLogLevel
will return LogLevel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
defaultLogLevelAsString()
.
LogLevel
public final Boolean disableAllLogs()
If true all logs are disabled. The default is false.
public SetV2LoggingOptionsRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<SetV2LoggingOptionsRequest.Builder,SetV2LoggingOptionsRequest>
toBuilder
in class IotRequest
public static SetV2LoggingOptionsRequest.Builder builder()
public static Class<? extends SetV2LoggingOptionsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.