Class EnableIoTLoggingParams
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.EnableIoTLoggingParams
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<EnableIoTLoggingParams.Builder,EnableIoTLoggingParams>
@Generated("software.amazon.awssdk:codegen") public final class EnableIoTLoggingParams extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnableIoTLoggingParams.Builder,EnableIoTLoggingParams>
Parameters used when defining a mitigation action that enable Amazon Web Services IoT Core logging.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
EnableIoTLoggingParams.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnableIoTLoggingParams.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
LogLevel
logLevel()
Specifies the type of information to be logged.String
logLevelAsString()
Specifies the type of information to be logged.String
roleArnForLogging()
The Amazon Resource Name (ARN) of the IAM role used for logging.List<SdkField<?>>
sdkFields()
static Class<? extends EnableIoTLoggingParams.Builder>
serializableBuilderClass()
EnableIoTLoggingParams.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
roleArnForLogging
public final String roleArnForLogging()
The Amazon Resource Name (ARN) of the IAM role used for logging.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role used for logging.
-
logLevel
public final LogLevel logLevel()
Specifies the type of information to be logged.
If the service returns an enum value that is not available in the current SDK version,
logLevel
will returnLogLevel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlogLevelAsString()
.- Returns:
- Specifies the type of information to be logged.
- See Also:
LogLevel
-
logLevelAsString
public final String logLevelAsString()
Specifies the type of information to be logged.
If the service returns an enum value that is not available in the current SDK version,
logLevel
will returnLogLevel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromlogLevelAsString()
.- Returns:
- Specifies the type of information to be logged.
- See Also:
LogLevel
-
toBuilder
public EnableIoTLoggingParams.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<EnableIoTLoggingParams.Builder,EnableIoTLoggingParams>
-
builder
public static EnableIoTLoggingParams.Builder builder()
-
serializableBuilderClass
public static Class<? extends EnableIoTLoggingParams.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-