Interface VariantConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VariantConfiguration.Builder,,VariantConfiguration> SdkBuilder<VariantConfiguration.Builder,,VariantConfiguration> SdkPojo
- Enclosing class:
VariantConfiguration
@Mutable
@NotThreadSafe
public static interface VariantConfiguration.Builder
extends SdkPojo, CopyableBuilder<VariantConfiguration.Builder,VariantConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault VariantConfiguration.BuilderconfigurationBundle(Consumer<ConfigurationBundleRef.Builder> configurationBundle) A reference to a configuration bundle version to use for this variant.configurationBundle(ConfigurationBundleRef configurationBundle) A reference to a configuration bundle version to use for this variant.default VariantConfiguration.Buildertarget(Consumer<TargetRef.Builder> target) A reference to a gateway target to route traffic to for this variant.A reference to a gateway target to route traffic to for this variant.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
-
configurationBundle
A reference to a configuration bundle version to use for this variant.
- Parameters:
configurationBundle- A reference to a configuration bundle version to use for this variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationBundle
default VariantConfiguration.Builder configurationBundle(Consumer<ConfigurationBundleRef.Builder> configurationBundle) A reference to a configuration bundle version to use for this variant.
This is a convenience method that creates an instance of theConfigurationBundleRef.Builderavoiding the need to create one manually viaConfigurationBundleRef.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurationBundle(ConfigurationBundleRef).- Parameters:
configurationBundle- a consumer that will call methods onConfigurationBundleRef.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
target
A reference to a gateway target to route traffic to for this variant.
- Parameters:
target- A reference to a gateway target to route traffic to for this variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
A reference to a gateway target to route traffic to for this variant.
This is a convenience method that creates an instance of theTargetRef.Builderavoiding the need to create one manually viaTargetRef.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(TargetRef).- Parameters:
target- a consumer that will call methods onTargetRef.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-