Interface UpdateTarget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateTarget.Builder,,UpdateTarget> SdkBuilder<UpdateTarget.Builder,,UpdateTarget> SdkPojo
- Enclosing class:
UpdateTarget
@Mutable
@NotThreadSafe
public static interface UpdateTarget.Builder
extends SdkPojo, CopyableBuilder<UpdateTarget.Builder,UpdateTarget>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateTarget.Buildergateway(Consumer<Unit.Builder> gateway) The gateway itself.The gateway itself.default UpdateTarget.Builderlink(Consumer<LinkTarget.Builder> link) A link on the gateway.link(LinkTarget link) A link on the gateway.default UpdateTarget.BuilderroutingRule(Consumer<RoutingRuleTarget.Builder> routingRule) A routing rule on one of the gateway's links.routingRule(RoutingRuleTarget routingRule) A routing rule on one of the gateway's links.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
-
gateway
The gateway itself.
- Parameters:
gateway- The gateway itself.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gateway
The gateway itself.
This is a convenience method that creates an instance of theUnit.Builderavoiding the need to create one manually viaUnit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togateway(Unit).- Parameters:
gateway- a consumer that will call methods onUnit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
link
A link on the gateway.
- Parameters:
link- A link on the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
link
A link on the gateway.
This is a convenience method that creates an instance of theLinkTarget.Builderavoiding the need to create one manually viaLinkTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolink(LinkTarget).- Parameters:
link- a consumer that will call methods onLinkTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routingRule
A routing rule on one of the gateway's links.
- Parameters:
routingRule- A routing rule on one of the gateway's links.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingRule
A routing rule on one of the gateway's links.
This is a convenience method that creates an instance of theRoutingRuleTarget.Builderavoiding the need to create one manually viaRoutingRuleTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutingRule(RoutingRuleTarget).- Parameters:
routingRule- a consumer that will call methods onRoutingRuleTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-