Interface ServiceConnectTestTrafficRules.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceConnectTestTrafficRules.Builder,,ServiceConnectTestTrafficRules> SdkBuilder<ServiceConnectTestTrafficRules.Builder,,ServiceConnectTestTrafficRules> SdkPojo
- Enclosing class:
ServiceConnectTestTrafficRules
@Mutable
@NotThreadSafe
public static interface ServiceConnectTestTrafficRules.Builder
extends SdkPojo, CopyableBuilder<ServiceConnectTestTrafficRules.Builder,ServiceConnectTestTrafficRules>
-
Method Summary
Modifier and TypeMethodDescriptionThe HTTP header-based routing rules that determine which requests should be routed to the new service version during blue/green deployment testing.The HTTP header-based routing rules that determine which requests should be routed to the new service version during blue/green deployment testing.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
-
header
The HTTP header-based routing rules that determine which requests should be routed to the new service version during blue/green deployment testing. These rules provide fine-grained control over test traffic routing based on request headers.
- Parameters:
header- The HTTP header-based routing rules that determine which requests should be routed to the new service version during blue/green deployment testing. These rules provide fine-grained control over test traffic routing based on request headers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
header
default ServiceConnectTestTrafficRules.Builder header(Consumer<ServiceConnectTestTrafficHeaderRules.Builder> header) The HTTP header-based routing rules that determine which requests should be routed to the new service version during blue/green deployment testing. These rules provide fine-grained control over test traffic routing based on request headers.
This is a convenience method that creates an instance of theServiceConnectTestTrafficHeaderRules.Builderavoiding the need to create one manually viaServiceConnectTestTrafficHeaderRules.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toheader(ServiceConnectTestTrafficHeaderRules).- Parameters:
header- a consumer that will call methods onServiceConnectTestTrafficHeaderRules.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-