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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ServiceConnectTestTrafficRules.Builderheader(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.ServiceConnectTestTrafficRules.Builderheader(ServiceConnectTestTrafficHeaderRules header)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
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
-
header
ServiceConnectTestTrafficRules.Builder header(ServiceConnectTestTrafficHeaderRules 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:
header(ServiceConnectTestTrafficHeaderRules)
-
-