Interface DestinationEndpointConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DestinationEndpointConfiguration.Builder,,DestinationEndpointConfiguration> SdkBuilder<DestinationEndpointConfiguration.Builder,,DestinationEndpointConfiguration> SdkPojo
- Enclosing class:
DestinationEndpointConfiguration
@Mutable
@NotThreadSafe
public static interface DestinationEndpointConfiguration.Builder
extends SdkPojo, CopyableBuilder<DestinationEndpointConfiguration.Builder,DestinationEndpointConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe configuration settings for a destination endpoint that represents a router input.routerInput(RouterInputDestinationEndpointConfiguration routerInput) The configuration settings for a destination endpoint that represents a router input.The configuration settings for a standard destination endpoint, which represents an external destination.The configuration settings for a standard destination endpoint, which represents an external destination.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
-
standard
DestinationEndpointConfiguration.Builder standard(StandardDestinationEndpointConfiguration standard) The configuration settings for a standard destination endpoint, which represents an external destination.
- Parameters:
standard- The configuration settings for a standard destination endpoint, which represents an external destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
standard
default DestinationEndpointConfiguration.Builder standard(Consumer<StandardDestinationEndpointConfiguration.Builder> standard) The configuration settings for a standard destination endpoint, which represents an external destination.
This is a convenience method that creates an instance of theStandardDestinationEndpointConfiguration.Builderavoiding the need to create one manually viaStandardDestinationEndpointConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostandard(StandardDestinationEndpointConfiguration).- Parameters:
standard- a consumer that will call methods onStandardDestinationEndpointConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routerInput
DestinationEndpointConfiguration.Builder routerInput(RouterInputDestinationEndpointConfiguration routerInput) The configuration settings for a destination endpoint that represents a router input.
- Parameters:
routerInput- The configuration settings for a destination endpoint that represents a router input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routerInput
default DestinationEndpointConfiguration.Builder routerInput(Consumer<RouterInputDestinationEndpointConfiguration.Builder> routerInput) The configuration settings for a destination endpoint that represents a router input.
This is a convenience method that creates an instance of theRouterInputDestinationEndpointConfiguration.Builderavoiding the need to create one manually viaRouterInputDestinationEndpointConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torouterInput(RouterInputDestinationEndpointConfiguration).- Parameters:
routerInput- a consumer that will call methods onRouterInputDestinationEndpointConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-