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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TopicRuleDestination.Builderarn(String arn)The topic rule destination URL.TopicRuleDestination.BuildercreatedAt(Instant createdAt)The date and time when the topic rule destination was created.default TopicRuleDestination.BuilderhttpUrlProperties(Consumer<HttpUrlDestinationProperties.Builder> httpUrlProperties)Properties of the HTTP URL.TopicRuleDestination.BuilderhttpUrlProperties(HttpUrlDestinationProperties httpUrlProperties)Properties of the HTTP URL.TopicRuleDestination.BuilderlastUpdatedAt(Instant lastUpdatedAt)The date and time when the topic rule destination was last updated.TopicRuleDestination.Builderstatus(String status)The status of the topic rule destination.TopicRuleDestination.Builderstatus(TopicRuleDestinationStatus status)The status of the topic rule destination.TopicRuleDestination.BuilderstatusReason(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.TopicRuleDestination.BuildervpcProperties(VpcDestinationProperties vpcProperties)Properties of the virtual private cloud (VPC) connection.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
TopicRuleDestination.Builder arn(String 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
TopicRuleDestination.Builder status(String 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:
TopicRuleDestinationStatus,TopicRuleDestinationStatus
-
status
TopicRuleDestination.Builder status(TopicRuleDestinationStatus 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:
TopicRuleDestinationStatus,TopicRuleDestinationStatus
-
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 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:
httpUrlProperties(HttpUrlDestinationProperties)
-
vpcProperties
TopicRuleDestination.Builder vpcProperties(VpcDestinationProperties 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:
vpcProperties(VpcDestinationProperties)
-
-