@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoggingOptions extends Object implements Serializable, Cloneable, StructuredPojo
The values of the AWS IoT Events logging options.
Constructor and Description |
---|
LoggingOptions() |
Modifier and Type | Method and Description |
---|---|
LoggingOptions |
clone() |
boolean |
equals(Object obj) |
List<DetectorDebugOption> |
getDetectorDebugOptions()
Information that identifies those detector models and their detectors (instances) for which the logging level is
given.
|
Boolean |
getEnabled()
If TRUE, logging is enabled for AWS IoT Events.
|
String |
getLevel()
The logging level.
|
String |
getRoleArn()
The ARN of the role that grants permission to AWS IoT Events to perform logging.
|
int |
hashCode() |
Boolean |
isEnabled()
If TRUE, logging is enabled for AWS IoT Events.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDetectorDebugOptions(Collection<DetectorDebugOption> detectorDebugOptions)
Information that identifies those detector models and their detectors (instances) for which the logging level is
given.
|
void |
setEnabled(Boolean enabled)
If TRUE, logging is enabled for AWS IoT Events.
|
void |
setLevel(String level)
The logging level.
|
void |
setRoleArn(String roleArn)
The ARN of the role that grants permission to AWS IoT Events to perform logging.
|
String |
toString()
Returns a string representation of this object.
|
LoggingOptions |
withDetectorDebugOptions(Collection<DetectorDebugOption> detectorDebugOptions)
Information that identifies those detector models and their detectors (instances) for which the logging level is
given.
|
LoggingOptions |
withDetectorDebugOptions(DetectorDebugOption... detectorDebugOptions)
Information that identifies those detector models and their detectors (instances) for which the logging level is
given.
|
LoggingOptions |
withEnabled(Boolean enabled)
If TRUE, logging is enabled for AWS IoT Events.
|
LoggingOptions |
withLevel(LoggingLevel level)
The logging level.
|
LoggingOptions |
withLevel(String level)
The logging level.
|
LoggingOptions |
withRoleArn(String roleArn)
The ARN of the role that grants permission to AWS IoT Events to perform logging.
|
public void setRoleArn(String roleArn)
The ARN of the role that grants permission to AWS IoT Events to perform logging.
roleArn
- The ARN of the role that grants permission to AWS IoT Events to perform logging.public String getRoleArn()
The ARN of the role that grants permission to AWS IoT Events to perform logging.
public LoggingOptions withRoleArn(String roleArn)
The ARN of the role that grants permission to AWS IoT Events to perform logging.
roleArn
- The ARN of the role that grants permission to AWS IoT Events to perform logging.public void setLevel(String level)
The logging level.
level
- The logging level.LoggingLevel
public String getLevel()
The logging level.
LoggingLevel
public LoggingOptions withLevel(String level)
The logging level.
level
- The logging level.LoggingLevel
public LoggingOptions withLevel(LoggingLevel level)
The logging level.
level
- The logging level.LoggingLevel
public void setEnabled(Boolean enabled)
If TRUE, logging is enabled for AWS IoT Events.
enabled
- If TRUE, logging is enabled for AWS IoT Events.public Boolean getEnabled()
If TRUE, logging is enabled for AWS IoT Events.
public LoggingOptions withEnabled(Boolean enabled)
If TRUE, logging is enabled for AWS IoT Events.
enabled
- If TRUE, logging is enabled for AWS IoT Events.public Boolean isEnabled()
If TRUE, logging is enabled for AWS IoT Events.
public List<DetectorDebugOption> getDetectorDebugOptions()
Information that identifies those detector models and their detectors (instances) for which the logging level is given.
public void setDetectorDebugOptions(Collection<DetectorDebugOption> detectorDebugOptions)
Information that identifies those detector models and their detectors (instances) for which the logging level is given.
detectorDebugOptions
- Information that identifies those detector models and their detectors (instances) for which the logging
level is given.public LoggingOptions withDetectorDebugOptions(DetectorDebugOption... detectorDebugOptions)
Information that identifies those detector models and their detectors (instances) for which the logging level is given.
NOTE: This method appends the values to the existing list (if any). Use
setDetectorDebugOptions(java.util.Collection)
or withDetectorDebugOptions(java.util.Collection)
if you want to override the existing values.
detectorDebugOptions
- Information that identifies those detector models and their detectors (instances) for which the logging
level is given.public LoggingOptions withDetectorDebugOptions(Collection<DetectorDebugOption> detectorDebugOptions)
Information that identifies those detector models and their detectors (instances) for which the logging level is given.
detectorDebugOptions
- Information that identifies those detector models and their detectors (instances) for which the logging
level is given.public String toString()
toString
in class Object
Object.toString()
public LoggingOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.