Interface TopicRuleDestination.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TopicRuleDestination.Builder,TopicRuleDestination>, SdkBuilder<TopicRuleDestination.Builder,TopicRuleDestination>, SdkPojo
Enclosing class:
TopicRuleDestination

public static interface TopicRuleDestination.Builder extends SdkPojo, CopyableBuilder<TopicRuleDestination.Builder,TopicRuleDestination>
  • Method Details

    • arn

      The topic rule destination URL.

      Parameters:
      arn - The topic rule destination URL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the topic rule destination. Valid values are:

      IN_PROGRESS

      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.

      ENABLED

      Confirmation was completed, and traffic to this destination is allowed. You can set status to DISABLED by calling UpdateTopicRuleDestination.

      DISABLED

      Confirmation was completed, and traffic to this destination is not allowed. You can set status to ENABLED by calling UpdateTopicRuleDestination.

      ERROR

      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.

      Parameters:
      status - The status of the topic rule destination. Valid values are:

      IN_PROGRESS

      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.

      ENABLED

      Confirmation was completed, and traffic to this destination is allowed. You can set status to DISABLED by calling UpdateTopicRuleDestination.

      DISABLED

      Confirmation was completed, and traffic to this destination is not allowed. You can set status to ENABLED by calling UpdateTopicRuleDestination.

      ERROR

      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:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the topic rule destination. Valid values are:

      IN_PROGRESS

      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.

      ENABLED

      Confirmation was completed, and traffic to this destination is allowed. You can set status to DISABLED by calling UpdateTopicRuleDestination.

      DISABLED

      Confirmation was completed, and traffic to this destination is not allowed. You can set status to ENABLED by calling UpdateTopicRuleDestination.

      ERROR

      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.

      Parameters:
      status - The status of the topic rule destination. Valid values are:

      IN_PROGRESS

      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.

      ENABLED

      Confirmation was completed, and traffic to this destination is allowed. You can set status to DISABLED by calling UpdateTopicRuleDestination.

      DISABLED

      Confirmation was completed, and traffic to this destination is not allowed. You can set status to ENABLED by calling UpdateTopicRuleDestination.

      ERROR

      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:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      TopicRuleDestination.Builder createdAt(Instant createdAt)

      The date and time when the topic rule destination was created.

      Parameters:
      createdAt - The date and time when the topic rule destination was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      TopicRuleDestination.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The date and time when the topic rule destination was last updated.

      Parameters:
      lastUpdatedAt - The date and time when the topic rule destination was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReason

      TopicRuleDestination.Builder statusReason(String statusReason)

      Additional details or reason why the topic rule destination is in the current status.

      Parameters:
      statusReason - Additional details or reason why the topic rule destination is in the current status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • httpUrlProperties

      TopicRuleDestination.Builder httpUrlProperties(HttpUrlDestinationProperties httpUrlProperties)

      Properties of the HTTP URL.

      Parameters:
      httpUrlProperties - Properties of the HTTP URL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • httpUrlProperties

      default TopicRuleDestination.Builder httpUrlProperties(Consumer<HttpUrlDestinationProperties.Builder> httpUrlProperties)

      Properties of the HTTP URL.

      This is a convenience method that creates an instance of the HttpUrlDestinationProperties.Builder avoiding the need to create one manually via HttpUrlDestinationProperties.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to httpUrlProperties(HttpUrlDestinationProperties).

      Parameters:
      httpUrlProperties - a consumer that will call methods on HttpUrlDestinationProperties.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • vpcProperties

      Properties of the virtual private cloud (VPC) connection.

      Parameters:
      vpcProperties - Properties of the virtual private cloud (VPC) connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vpcProperties

      Properties of the virtual private cloud (VPC) connection.

      This is a convenience method that creates an instance of the VpcDestinationProperties.Builder avoiding the need to create one manually via VpcDestinationProperties.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vpcProperties(VpcDestinationProperties).

      Parameters:
      vpcProperties - a consumer that will call methods on VpcDestinationProperties.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: