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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ServiceConnectTestTrafficHeaderRules.Buildername(String name)The name of the HTTP header to examine for test traffic routing.default ServiceConnectTestTrafficHeaderRules.Buildervalue(Consumer<ServiceConnectTestTrafficHeaderMatchRules.Builder> value)The header value matching configuration that determines how the HTTP header value is evaluated for test traffic routing decisions.ServiceConnectTestTrafficHeaderRules.Buildervalue(ServiceConnectTestTrafficHeaderMatchRules value)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 Detail
-
name
ServiceConnectTestTrafficHeaderRules.Builder name(String name)
The name of the HTTP header to examine for test traffic routing. Common examples include custom headers like
X-Test-VersionorX-Canary-Requestthat 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-VersionorX-Canary-Requestthat can be used to identify test traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
ServiceConnectTestTrafficHeaderRules.Builder value(ServiceConnectTestTrafficHeaderMatchRules 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.Builderavoiding the need to create one manually viaServiceConnectTestTrafficHeaderMatchRules.builder().When the
Consumercompletes,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:
value(ServiceConnectTestTrafficHeaderMatchRules)
-
-