@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricsExportConfig extends Object implements Serializable, Cloneable, StructuredPojo
Set configurations for metrics export.
Constructor and Description |
---|
MetricsExportConfig() |
Modifier and Type | Method and Description |
---|---|
MetricsExportConfig |
clone() |
boolean |
equals(Object obj) |
String |
getMqttTopic()
The MQTT topic that Device Defender Detect should publish messages to for metrics export.
|
String |
getRoleArn()
This role ARN has permission to publish MQTT messages, after which Device Defender Detect can assume the role and
publish messages on your behalf.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMqttTopic(String mqttTopic)
The MQTT topic that Device Defender Detect should publish messages to for metrics export.
|
void |
setRoleArn(String roleArn)
This role ARN has permission to publish MQTT messages, after which Device Defender Detect can assume the role and
publish messages on your behalf.
|
String |
toString()
Returns a string representation of this object.
|
MetricsExportConfig |
withMqttTopic(String mqttTopic)
The MQTT topic that Device Defender Detect should publish messages to for metrics export.
|
MetricsExportConfig |
withRoleArn(String roleArn)
This role ARN has permission to publish MQTT messages, after which Device Defender Detect can assume the role and
publish messages on your behalf.
|
public void setMqttTopic(String mqttTopic)
The MQTT topic that Device Defender Detect should publish messages to for metrics export.
mqttTopic
- The MQTT topic that Device Defender Detect should publish messages to for metrics export.public String getMqttTopic()
The MQTT topic that Device Defender Detect should publish messages to for metrics export.
public MetricsExportConfig withMqttTopic(String mqttTopic)
The MQTT topic that Device Defender Detect should publish messages to for metrics export.
mqttTopic
- The MQTT topic that Device Defender Detect should publish messages to for metrics export.public void setRoleArn(String roleArn)
This role ARN has permission to publish MQTT messages, after which Device Defender Detect can assume the role and publish messages on your behalf.
roleArn
- This role ARN has permission to publish MQTT messages, after which Device Defender Detect can assume the
role and publish messages on your behalf.public String getRoleArn()
This role ARN has permission to publish MQTT messages, after which Device Defender Detect can assume the role and publish messages on your behalf.
public MetricsExportConfig withRoleArn(String roleArn)
This role ARN has permission to publish MQTT messages, after which Device Defender Detect can assume the role and publish messages on your behalf.
roleArn
- This role ARN has permission to publish MQTT messages, after which Device Defender Detect can assume the
role and publish messages on your behalf.public String toString()
toString
in class Object
Object.toString()
public MetricsExportConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.