public class TopicRuleDestination
extends java.lang.Object
implements java.io.Serializable
A topic rule destination.
| Constructor and Description | 
|---|
| TopicRuleDestination() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.String | getArn()
 The topic rule destination URL. | 
| java.util.Date | getCreatedAt()
 The date and time when the topic rule destination was created. | 
| HttpUrlDestinationProperties | getHttpUrlProperties()
 Properties of the HTTP URL. | 
| java.util.Date | getLastUpdatedAt()
 The date and time when the topic rule destination was last updated. | 
| java.lang.String | getStatus()
 The status of the topic rule destination. | 
| java.lang.String | getStatusReason()
 Additional details or reason why the topic rule destination is in the
 current status. | 
| VpcDestinationProperties | getVpcProperties()
 Properties of the virtual private cloud (VPC) connection. | 
| int | hashCode() | 
| void | setArn(java.lang.String arn)
 The topic rule destination URL. | 
| void | setCreatedAt(java.util.Date createdAt)
 The date and time when the topic rule destination was created. | 
| void | setHttpUrlProperties(HttpUrlDestinationProperties httpUrlProperties)
 Properties of the HTTP URL. | 
| void | setLastUpdatedAt(java.util.Date lastUpdatedAt)
 The date and time when the topic rule destination was last updated. | 
| void | setStatus(java.lang.String status)
 The status of the topic rule destination. | 
| void | setStatus(TopicRuleDestinationStatus status)
 The status of the topic rule destination. | 
| void | setStatusReason(java.lang.String statusReason)
 Additional details or reason why the topic rule destination is in the
 current status. | 
| void | setVpcProperties(VpcDestinationProperties vpcProperties)
 Properties of the virtual private cloud (VPC) connection. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| TopicRuleDestination | withArn(java.lang.String arn)
 The topic rule destination URL. | 
| TopicRuleDestination | withCreatedAt(java.util.Date createdAt)
 The date and time when the topic rule destination was created. | 
| TopicRuleDestination | withHttpUrlProperties(HttpUrlDestinationProperties httpUrlProperties)
 Properties of the HTTP URL. | 
| TopicRuleDestination | withLastUpdatedAt(java.util.Date lastUpdatedAt)
 The date and time when the topic rule destination was last updated. | 
| TopicRuleDestination | withStatus(java.lang.String status)
 The status of the topic rule destination. | 
| TopicRuleDestination | withStatus(TopicRuleDestinationStatus status)
 The status of the topic rule destination. | 
| TopicRuleDestination | withStatusReason(java.lang.String statusReason)
 Additional details or reason why the topic rule destination is in the
 current status. | 
| TopicRuleDestination | withVpcProperties(VpcDestinationProperties vpcProperties)
 Properties of the virtual private cloud (VPC) connection. | 
public java.lang.String getArn()
The topic rule destination URL.
The topic rule destination URL.
public void setArn(java.lang.String arn)
The topic rule destination URL.
arn - The topic rule destination URL.
public TopicRuleDestination withArn(java.lang.String arn)
The topic rule destination URL.
Returns a reference to this object so that method calls can be chained together.
arn - The topic rule destination URL.
public java.lang.String getStatus()
The status of the topic rule destination. Valid values are:
 A topic rule destination was created but has not been confirmed. You can
 set status to IN_PROGRESS by calling
 UpdateTopicRuleDestination. Calling
 UpdateTopicRuleDestination causes a new confirmation
 challenge to be sent to your confirmation endpoint.
 
 Confirmation was completed, and traffic to this destination is allowed.
 You can set status to DISABLED by calling
 UpdateTopicRuleDestination.
 
 Confirmation was completed, and traffic to this destination is not
 allowed. You can set status to ENABLED by
 calling UpdateTopicRuleDestination.
 
 Confirmation could not be completed, for example if the confirmation
 timed out. You can call GetTopicRuleDestination for details
 about the error. You can set status to
 IN_PROGRESS by calling
 UpdateTopicRuleDestination. Calling
 UpdateTopicRuleDestination causes a new confirmation
 challenge to be sent to your confirmation endpoint.
 
 Constraints:
 Allowed Values: ENABLED, IN_PROGRESS, DISABLED, ERROR, DELETING
The status of the topic rule destination. Valid values are:
         A topic rule destination was created but has not been confirmed.
         You can set status to IN_PROGRESS by
         calling UpdateTopicRuleDestination. Calling
         UpdateTopicRuleDestination causes a new confirmation
         challenge to be sent to your confirmation endpoint.
         
         Confirmation was completed, and traffic to this destination is
         allowed. You can set status to DISABLED
         by calling UpdateTopicRuleDestination.
         
         Confirmation was completed, and traffic to this destination is
         not allowed. You can set status to
         ENABLED by calling
         UpdateTopicRuleDestination.
         
         Confirmation could not be completed, for example if the
         confirmation timed out. You can call
         GetTopicRuleDestination for details about the error.
         You can set status to IN_PROGRESS by
         calling UpdateTopicRuleDestination. Calling
         UpdateTopicRuleDestination causes a new confirmation
         challenge to be sent to your confirmation endpoint.
         
TopicRuleDestinationStatuspublic void setStatus(java.lang.String status)
The status of the topic rule destination. Valid values are:
 A topic rule destination was created but has not been confirmed. You can
 set status to IN_PROGRESS by calling
 UpdateTopicRuleDestination. Calling
 UpdateTopicRuleDestination causes a new confirmation
 challenge to be sent to your confirmation endpoint.
 
 Confirmation was completed, and traffic to this destination is allowed.
 You can set status to DISABLED by calling
 UpdateTopicRuleDestination.
 
 Confirmation was completed, and traffic to this destination is not
 allowed. You can set status to ENABLED by
 calling UpdateTopicRuleDestination.
 
 Confirmation could not be completed, for example if the confirmation
 timed out. You can call GetTopicRuleDestination for details
 about the error. You can set status to
 IN_PROGRESS by calling
 UpdateTopicRuleDestination. Calling
 UpdateTopicRuleDestination causes a new confirmation
 challenge to be sent to your confirmation endpoint.
 
 Constraints:
 Allowed Values: ENABLED, IN_PROGRESS, DISABLED, ERROR, DELETING
status - The status of the topic rule destination. Valid values are:
            A topic rule destination was created but has not been
            confirmed. You can set status to
            IN_PROGRESS by calling
            UpdateTopicRuleDestination. Calling
            UpdateTopicRuleDestination causes a new
            confirmation challenge to be sent to your confirmation
            endpoint.
            
            Confirmation was completed, and traffic to this destination is
            allowed. You can set status to
            DISABLED by calling
            UpdateTopicRuleDestination.
            
            Confirmation was completed, and traffic to this destination is
            not allowed. You can set status to
            ENABLED by calling
            UpdateTopicRuleDestination.
            
            Confirmation could not be completed, for example if the
            confirmation timed out. You can call
            GetTopicRuleDestination for details about the
            error. You can set status to
            IN_PROGRESS by calling
            UpdateTopicRuleDestination. Calling
            UpdateTopicRuleDestination causes a new
            confirmation challenge to be sent to your confirmation
            endpoint.
            
TopicRuleDestinationStatuspublic TopicRuleDestination withStatus(java.lang.String status)
The status of the topic rule destination. Valid values are:
 A topic rule destination was created but has not been confirmed. You can
 set status to IN_PROGRESS by calling
 UpdateTopicRuleDestination. Calling
 UpdateTopicRuleDestination causes a new confirmation
 challenge to be sent to your confirmation endpoint.
 
 Confirmation was completed, and traffic to this destination is allowed.
 You can set status to DISABLED by calling
 UpdateTopicRuleDestination.
 
 Confirmation was completed, and traffic to this destination is not
 allowed. You can set status to ENABLED by
 calling UpdateTopicRuleDestination.
 
 Confirmation could not be completed, for example if the confirmation
 timed out. You can call GetTopicRuleDestination for details
 about the error. You can set status to
 IN_PROGRESS by calling
 UpdateTopicRuleDestination. Calling
 UpdateTopicRuleDestination causes a new confirmation
 challenge to be sent to your confirmation endpoint.
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: ENABLED, IN_PROGRESS, DISABLED, ERROR, DELETING
status - The status of the topic rule destination. Valid values are:
            A topic rule destination was created but has not been
            confirmed. You can set status to
            IN_PROGRESS by calling
            UpdateTopicRuleDestination. Calling
            UpdateTopicRuleDestination causes a new
            confirmation challenge to be sent to your confirmation
            endpoint.
            
            Confirmation was completed, and traffic to this destination is
            allowed. You can set status to
            DISABLED by calling
            UpdateTopicRuleDestination.
            
            Confirmation was completed, and traffic to this destination is
            not allowed. You can set status to
            ENABLED by calling
            UpdateTopicRuleDestination.
            
            Confirmation could not be completed, for example if the
            confirmation timed out. You can call
            GetTopicRuleDestination for details about the
            error. You can set status to
            IN_PROGRESS by calling
            UpdateTopicRuleDestination. Calling
            UpdateTopicRuleDestination causes a new
            confirmation challenge to be sent to your confirmation
            endpoint.
            
TopicRuleDestinationStatuspublic void setStatus(TopicRuleDestinationStatus status)
The status of the topic rule destination. Valid values are:
 A topic rule destination was created but has not been confirmed. You can
 set status to IN_PROGRESS by calling
 UpdateTopicRuleDestination. Calling
 UpdateTopicRuleDestination causes a new confirmation
 challenge to be sent to your confirmation endpoint.
 
 Confirmation was completed, and traffic to this destination is allowed.
 You can set status to DISABLED by calling
 UpdateTopicRuleDestination.
 
 Confirmation was completed, and traffic to this destination is not
 allowed. You can set status to ENABLED by
 calling UpdateTopicRuleDestination.
 
 Confirmation could not be completed, for example if the confirmation
 timed out. You can call GetTopicRuleDestination for details
 about the error. You can set status to
 IN_PROGRESS by calling
 UpdateTopicRuleDestination. Calling
 UpdateTopicRuleDestination causes a new confirmation
 challenge to be sent to your confirmation endpoint.
 
 Constraints:
 Allowed Values: ENABLED, IN_PROGRESS, DISABLED, ERROR, DELETING
status - The status of the topic rule destination. Valid values are:
            A topic rule destination was created but has not been
            confirmed. You can set status to
            IN_PROGRESS by calling
            UpdateTopicRuleDestination. Calling
            UpdateTopicRuleDestination causes a new
            confirmation challenge to be sent to your confirmation
            endpoint.
            
            Confirmation was completed, and traffic to this destination is
            allowed. You can set status to
            DISABLED by calling
            UpdateTopicRuleDestination.
            
            Confirmation was completed, and traffic to this destination is
            not allowed. You can set status to
            ENABLED by calling
            UpdateTopicRuleDestination.
            
            Confirmation could not be completed, for example if the
            confirmation timed out. You can call
            GetTopicRuleDestination for details about the
            error. You can set status to
            IN_PROGRESS by calling
            UpdateTopicRuleDestination. Calling
            UpdateTopicRuleDestination causes a new
            confirmation challenge to be sent to your confirmation
            endpoint.
            
TopicRuleDestinationStatuspublic TopicRuleDestination withStatus(TopicRuleDestinationStatus status)
The status of the topic rule destination. Valid values are:
 A topic rule destination was created but has not been confirmed. You can
 set status to IN_PROGRESS by calling
 UpdateTopicRuleDestination. Calling
 UpdateTopicRuleDestination causes a new confirmation
 challenge to be sent to your confirmation endpoint.
 
 Confirmation was completed, and traffic to this destination is allowed.
 You can set status to DISABLED by calling
 UpdateTopicRuleDestination.
 
 Confirmation was completed, and traffic to this destination is not
 allowed. You can set status to ENABLED by
 calling UpdateTopicRuleDestination.
 
 Confirmation could not be completed, for example if the confirmation
 timed out. You can call GetTopicRuleDestination for details
 about the error. You can set status to
 IN_PROGRESS by calling
 UpdateTopicRuleDestination. Calling
 UpdateTopicRuleDestination causes a new confirmation
 challenge to be sent to your confirmation endpoint.
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: ENABLED, IN_PROGRESS, DISABLED, ERROR, DELETING
status - The status of the topic rule destination. Valid values are:
            A topic rule destination was created but has not been
            confirmed. You can set status to
            IN_PROGRESS by calling
            UpdateTopicRuleDestination. Calling
            UpdateTopicRuleDestination causes a new
            confirmation challenge to be sent to your confirmation
            endpoint.
            
            Confirmation was completed, and traffic to this destination is
            allowed. You can set status to
            DISABLED by calling
            UpdateTopicRuleDestination.
            
            Confirmation was completed, and traffic to this destination is
            not allowed. You can set status to
            ENABLED by calling
            UpdateTopicRuleDestination.
            
            Confirmation could not be completed, for example if the
            confirmation timed out. You can call
            GetTopicRuleDestination for details about the
            error. You can set status to
            IN_PROGRESS by calling
            UpdateTopicRuleDestination. Calling
            UpdateTopicRuleDestination causes a new
            confirmation challenge to be sent to your confirmation
            endpoint.
            
TopicRuleDestinationStatuspublic java.util.Date getCreatedAt()
The date and time when the topic rule destination was created.
The date and time when the topic rule destination was created.
public void setCreatedAt(java.util.Date createdAt)
The date and time when the topic rule destination was created.
createdAt - The date and time when the topic rule destination was created.
public TopicRuleDestination withCreatedAt(java.util.Date createdAt)
The date and time when the topic rule destination was created.
Returns a reference to this object so that method calls can be chained together.
createdAt - The date and time when the topic rule destination was created.
public java.util.Date getLastUpdatedAt()
The date and time when the topic rule destination was last updated.
The date and time when the topic rule destination was last updated.
public void setLastUpdatedAt(java.util.Date lastUpdatedAt)
The date and time when the topic rule destination was last updated.
lastUpdatedAt - The date and time when the topic rule destination was last updated.
public TopicRuleDestination withLastUpdatedAt(java.util.Date lastUpdatedAt)
The date and time when the topic rule destination was last updated.
Returns a reference to this object so that method calls can be chained together.
lastUpdatedAt - The date and time when the topic rule destination was last updated.
public java.lang.String getStatusReason()
Additional details or reason why the topic rule destination is in the current status.
Additional details or reason why the topic rule destination is in the current status.
public void setStatusReason(java.lang.String statusReason)
Additional details or reason why the topic rule destination is in the current status.
statusReason - Additional details or reason why the topic rule destination is in the current status.
public TopicRuleDestination withStatusReason(java.lang.String statusReason)
Additional details or reason why the topic rule destination is in the current status.
Returns a reference to this object so that method calls can be chained together.
statusReason - Additional details or reason why the topic rule destination is in the current status.
public HttpUrlDestinationProperties getHttpUrlProperties()
Properties of the HTTP URL.
Properties of the HTTP URL.
public void setHttpUrlProperties(HttpUrlDestinationProperties httpUrlProperties)
Properties of the HTTP URL.
httpUrlProperties - Properties of the HTTP URL.
public TopicRuleDestination withHttpUrlProperties(HttpUrlDestinationProperties httpUrlProperties)
Properties of the HTTP URL.
Returns a reference to this object so that method calls can be chained together.
httpUrlProperties - Properties of the HTTP URL.
public VpcDestinationProperties getVpcProperties()
Properties of the virtual private cloud (VPC) connection.
Properties of the virtual private cloud (VPC) connection.
public void setVpcProperties(VpcDestinationProperties vpcProperties)
Properties of the virtual private cloud (VPC) connection.
vpcProperties - Properties of the virtual private cloud (VPC) connection.
public TopicRuleDestination withVpcProperties(VpcDestinationProperties vpcProperties)
Properties of the virtual private cloud (VPC) connection.
Returns a reference to this object so that method calls can be chained together.
vpcProperties - Properties of the virtual private cloud (VPC) connection.
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.