Interface TopicRuleDestination.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TopicRuleDestination.Builder,,TopicRuleDestination> SdkBuilder<TopicRuleDestination.Builder,,TopicRuleDestination> SdkPojo
- Enclosing class:
TopicRuleDestination
-
Method Summary
Modifier and TypeMethodDescriptionThe topic rule destination URL.The date and time when the topic rule destination was created.default TopicRuleDestination.BuilderhttpUrlProperties(Consumer<HttpUrlDestinationProperties.Builder> httpUrlProperties) Properties of the HTTP URL.httpUrlProperties(HttpUrlDestinationProperties httpUrlProperties) Properties of the HTTP URL.lastUpdatedAt(Instant lastUpdatedAt) The date and time when the topic rule destination was last updated.The status of the topic rule destination.status(TopicRuleDestinationStatus status) The status of the topic rule destination.statusReason(String statusReason) Additional details or reason why the topic rule destination is in the current status.default TopicRuleDestination.BuildervpcProperties(Consumer<VpcDestinationProperties.Builder> vpcProperties) Properties of the virtual private cloud (VPC) connection.vpcProperties(VpcDestinationProperties vpcProperties) Properties of the virtual private cloud (VPC) connection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
statustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
statustoDISABLEDby callingUpdateTopicRuleDestination. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
statustoENABLEDby callingUpdateTopicRuleDestination. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestinationfor details about the error. You can setstatustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
statustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
statustoDISABLEDby callingUpdateTopicRuleDestination. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
statustoENABLEDby callingUpdateTopicRuleDestination. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestinationfor details about the error. You can setstatustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
statustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
statustoDISABLEDby callingUpdateTopicRuleDestination. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
statustoENABLEDby callingUpdateTopicRuleDestination. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestinationfor details about the error. You can setstatustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
statustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
statustoDISABLEDby callingUpdateTopicRuleDestination. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
statustoENABLEDby callingUpdateTopicRuleDestination. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestinationfor details about the error. You can setstatustoIN_PROGRESSby callingUpdateTopicRuleDestination. CallingUpdateTopicRuleDestinationcauses 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
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
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
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
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 theHttpUrlDestinationProperties.Builderavoiding the need to create one manually viaHttpUrlDestinationProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohttpUrlProperties(HttpUrlDestinationProperties).- Parameters:
httpUrlProperties- a consumer that will call methods onHttpUrlDestinationProperties.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
default TopicRuleDestination.Builder vpcProperties(Consumer<VpcDestinationProperties.Builder> vpcProperties) Properties of the virtual private cloud (VPC) connection.
This is a convenience method that creates an instance of theVpcDestinationProperties.Builderavoiding the need to create one manually viaVpcDestinationProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcProperties(VpcDestinationProperties).- Parameters:
vpcProperties- a consumer that will call methods onVpcDestinationProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-