public class ConfirmTopicRuleDestinationRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.Object obj) |
java.lang.String |
getConfirmationToken()
The token used to confirm ownership or access to the topic rule
confirmation URL.
|
int |
hashCode() |
void |
setConfirmationToken(java.lang.String confirmationToken)
The token used to confirm ownership or access to the topic rule
confirmation URL.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConfirmTopicRuleDestinationRequest |
withConfirmationToken(java.lang.String confirmationToken)
The token used to confirm ownership or access to the topic rule
confirmation URL.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.