@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 AWS IoT logging.
Constructor and Description |
---|
EnableIoTLoggingParams() |
Modifier and Type | Method and Description |
---|---|
EnableIoTLoggingParams |
clone() |
boolean |
equals(Object obj) |
String |
getLogLevel()
Specifies the types of information to be logged.
|
String |
getRoleArnForLogging()
The 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 types of information to be logged.
|
void |
setRoleArnForLogging(String roleArnForLogging)
The ARN of the IAM role used for logging.
|
String |
toString()
Returns a string representation of this object.
|
EnableIoTLoggingParams |
withLogLevel(LogLevel logLevel)
Specifies the types of information to be logged.
|
EnableIoTLoggingParams |
withLogLevel(String logLevel)
Specifies the types of information to be logged.
|
EnableIoTLoggingParams |
withRoleArnForLogging(String roleArnForLogging)
The ARN of the IAM role used for logging.
|
public void setRoleArnForLogging(String roleArnForLogging)
The ARN of the IAM role used for logging.
roleArnForLogging
- The ARN of the IAM role used for logging.public String getRoleArnForLogging()
The ARN of the IAM role used for logging.
public EnableIoTLoggingParams withRoleArnForLogging(String roleArnForLogging)
The ARN of the IAM role used for logging.
roleArnForLogging
- The ARN of the IAM role used for logging.public void setLogLevel(String logLevel)
Specifies the types of information to be logged.
logLevel
- Specifies the types of information to be logged.LogLevel
public String getLogLevel()
Specifies the types of information to be logged.
LogLevel
public EnableIoTLoggingParams withLogLevel(String logLevel)
Specifies the types of information to be logged.
logLevel
- Specifies the types of information to be logged.LogLevel
public EnableIoTLoggingParams withLogLevel(LogLevel logLevel)
Specifies the types of information to be logged.
logLevel
- Specifies the types 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.