@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableIoTLoggingParams extends Object implements Serializable, Cloneable, StructuredPojo
Parameters used when defining a mitigation action that enable Amazon Web Services IoT Core logging.
| Constructor and Description |
|---|
EnableIoTLoggingParams() |
| Modifier and Type | Method and Description |
|---|---|
EnableIoTLoggingParams |
clone() |
boolean |
equals(Object obj) |
String |
getLogLevel()
Specifies the type of information to be logged.
|
String |
getRoleArnForLogging()
The Amazon Resource Name (ARN) of the IAM role used for logging.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLogLevel(String logLevel)
Specifies the type of information to be logged.
|
void |
setRoleArnForLogging(String roleArnForLogging)
The Amazon Resource Name (ARN) of the IAM role used for logging.
|
String |
toString()
Returns a string representation of this object.
|
EnableIoTLoggingParams |
withLogLevel(LogLevel logLevel)
Specifies the type of information to be logged.
|
EnableIoTLoggingParams |
withLogLevel(String logLevel)
Specifies the type of information to be logged.
|
EnableIoTLoggingParams |
withRoleArnForLogging(String roleArnForLogging)
The Amazon Resource Name (ARN) of the IAM role used for logging.
|
public void setRoleArnForLogging(String roleArnForLogging)
The Amazon Resource Name (ARN) of the IAM role used for logging.
roleArnForLogging - The Amazon Resource Name (ARN) of the IAM role used for logging.public String getRoleArnForLogging()
The Amazon Resource Name (ARN) of the IAM role used for logging.
public EnableIoTLoggingParams withRoleArnForLogging(String roleArnForLogging)
The Amazon Resource Name (ARN) of the IAM role used for logging.
roleArnForLogging - The Amazon Resource Name (ARN) of the IAM role used for logging.public void setLogLevel(String logLevel)
Specifies the type of information to be logged.
logLevel - Specifies the type of information to be logged.LogLevelpublic String getLogLevel()
Specifies the type of information to be logged.
LogLevelpublic EnableIoTLoggingParams withLogLevel(String logLevel)
Specifies the type of information to be logged.
logLevel - Specifies the type of information to be logged.LogLevelpublic EnableIoTLoggingParams withLogLevel(LogLevel logLevel)
Specifies the type of information to be logged.
logLevel - Specifies the type of information to be logged.LogLevelpublic String toString()
toString in class ObjectObject.toString()public EnableIoTLoggingParams clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.