@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.LogLevel
public String getLogLevel()
Specifies the type of information to be logged.
LogLevel
public EnableIoTLoggingParams withLogLevel(String logLevel)
Specifies the type of information to be logged.
logLevel
- Specifies the type of information to be logged.LogLevel
public EnableIoTLoggingParams withLogLevel(LogLevel logLevel)
Specifies the type of information to be logged.
logLevel
- Specifies the type of information to be logged.LogLevel
public String toString()
toString
in class Object
Object.toString()
public EnableIoTLoggingParams clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.