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.Builder
arn(String arn)
The topic rule destination URL.TopicRuleDestination.Builder
createdAt(Instant createdAt)
The date and time when the topic rule destination was created.default TopicRuleDestination.Builder
httpUrlProperties(Consumer<HttpUrlDestinationProperties.Builder> httpUrlProperties)
Properties of the HTTP URL.TopicRuleDestination.Builder
httpUrlProperties(HttpUrlDestinationProperties httpUrlProperties)
Properties of the HTTP URL.TopicRuleDestination.Builder
lastUpdatedAt(Instant lastUpdatedAt)
The date and time when the topic rule destination was last updated.TopicRuleDestination.Builder
status(String status)
The status of the topic rule destination.TopicRuleDestination.Builder
status(TopicRuleDestinationStatus status)
The status of the topic rule destination.TopicRuleDestination.Builder
statusReason(String statusReason)
Additional details or reason why the topic rule destination is in the current status.default TopicRuleDestination.Builder
vpcProperties(Consumer<VpcDestinationProperties.Builder> vpcProperties)
Properties of the virtual private cloud (VPC) connection.TopicRuleDestination.Builder
vpcProperties(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, sdkFieldNameToField, 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
status
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
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
toDISABLED
by callingUpdateTopicRuleDestination
. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
status
toENABLED
by callingUpdateTopicRuleDestination
. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestination
for details about the error. You can setstatus
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
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
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
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
toDISABLED
by callingUpdateTopicRuleDestination
. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
status
toENABLED
by callingUpdateTopicRuleDestination
. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestination
for details about the error. You can setstatus
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
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:
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
status
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
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
toDISABLED
by callingUpdateTopicRuleDestination
. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
status
toENABLED
by callingUpdateTopicRuleDestination
. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestination
for details about the error. You can setstatus
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
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
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
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
toDISABLED
by callingUpdateTopicRuleDestination
. - DISABLED
-
Confirmation was completed, and traffic to this destination is not allowed. You can set
status
toENABLED
by callingUpdateTopicRuleDestination
. - ERROR
-
Confirmation could not be completed, for example if the confirmation timed out. You can call
GetTopicRuleDestination
for details about the error. You can setstatus
toIN_PROGRESS
by callingUpdateTopicRuleDestination
. CallingUpdateTopicRuleDestination
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:
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.Builder
avoiding the need to create one manually viaHttpUrlDestinationProperties.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaVpcDestinationProperties.builder()
.When the
Consumer
completes,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)
-
-