Interface ServiceConnectTestTrafficHeaderRules.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceConnectTestTrafficHeaderRules.Builder,
,ServiceConnectTestTrafficHeaderRules> SdkBuilder<ServiceConnectTestTrafficHeaderRules.Builder,
,ServiceConnectTestTrafficHeaderRules> SdkPojo
- Enclosing class:
ServiceConnectTestTrafficHeaderRules
@Mutable
@NotThreadSafe
public static interface ServiceConnectTestTrafficHeaderRules.Builder
extends SdkPojo, CopyableBuilder<ServiceConnectTestTrafficHeaderRules.Builder,ServiceConnectTestTrafficHeaderRules>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the HTTP header to examine for test traffic routing.The header value matching configuration that determines how the HTTP header value is evaluated for test traffic routing decisions.The header value matching configuration that determines how the HTTP header value is evaluated for test traffic routing decisions.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 Details
-
name
The name of the HTTP header to examine for test traffic routing. Common examples include custom headers like
X-Test-Version
orX-Canary-Request
that can be used to identify test traffic.- Parameters:
name
- The name of the HTTP header to examine for test traffic routing. Common examples include custom headers likeX-Test-Version
orX-Canary-Request
that can be used to identify test traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The header value matching configuration that determines how the HTTP header value is evaluated for test traffic routing decisions.
- Parameters:
value
- The header value matching configuration that determines how the HTTP header value is evaluated for test traffic routing decisions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
default ServiceConnectTestTrafficHeaderRules.Builder value(Consumer<ServiceConnectTestTrafficHeaderMatchRules.Builder> value) The header value matching configuration that determines how the HTTP header value is evaluated for test traffic routing decisions.
This is a convenience method that creates an instance of theServiceConnectTestTrafficHeaderMatchRules.Builder
avoiding the need to create one manually viaServiceConnectTestTrafficHeaderMatchRules.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalue(ServiceConnectTestTrafficHeaderMatchRules)
.- Parameters:
value
- a consumer that will call methods onServiceConnectTestTrafficHeaderMatchRules.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-