public class ConfirmTopicRuleDestinationRequest extends AmazonWebServiceRequest implements Serializable
Confirms a topic rule destination. When you create a rule requiring a
destination, AWS IoT sends a confirmation message to the endpoint or base
address you specify. The message includes a token which you pass back when
calling ConfirmTopicRuleDestination to confirm that you own or
have access to the endpoint.
| Constructor and Description |
|---|
ConfirmTopicRuleDestinationRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getConfirmationToken()
The token used to confirm ownership or access to the topic rule
confirmation URL.
|
int |
hashCode() |
void |
setConfirmationToken(String confirmationToken)
The token used to confirm ownership or access to the topic rule
confirmation URL.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConfirmTopicRuleDestinationRequest |
withConfirmationToken(String confirmationToken)
The token used to confirm ownership or access to the topic rule
confirmation URL.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getConfirmationToken()
The token used to confirm ownership or access to the topic rule confirmation URL.
Constraints:
Length: 1 - 2048
The token used to confirm ownership or access to the topic rule confirmation URL.
public void setConfirmationToken(String confirmationToken)
The token used to confirm ownership or access to the topic rule confirmation URL.
Constraints:
Length: 1 - 2048
confirmationToken - The token used to confirm ownership or access to the topic rule confirmation URL.
public ConfirmTopicRuleDestinationRequest withConfirmationToken(String confirmationToken)
The token used to confirm ownership or access to the topic rule confirmation URL.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2048
confirmationToken - The token used to confirm ownership or access to the topic rule confirmation URL.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.