Class ServiceConnectTestTrafficHeaderRules
java.lang.Object
software.amazon.awssdk.services.ecs.model.ServiceConnectTestTrafficHeaderRules
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceConnectTestTrafficHeaderRules.Builder,ServiceConnectTestTrafficHeaderRules>
@Generated("software.amazon.awssdk:codegen")
public final class ServiceConnectTestTrafficHeaderRules
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<ServiceConnectTestTrafficHeaderRules.Builder,ServiceConnectTestTrafficHeaderRules>
The HTTP header rules used to identify and route test traffic during Amazon ECS blue/green deployments. These rules specify which HTTP headers to examine and what values to match for routing decisions.
For more information, see Service Connect for Amazon ECS blue/green deployments in the Amazon Elastic Container Service Developer Guide.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The name of the HTTP header to examine for test traffic routing.static Class<? extends ServiceConnectTestTrafficHeaderRules.Builder>final StringtoString()Returns a string representation of this object.value()The header value matching configuration that determines how the HTTP header value is evaluated for test traffic routing decisions.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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.- Returns:
- 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.
-
value
The header value matching configuration that determines how the HTTP header value is evaluated for test traffic routing decisions.
- Returns:
- The header value matching configuration that determines how the HTTP header value is evaluated for test traffic routing decisions.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceConnectTestTrafficHeaderRules.Builder,ServiceConnectTestTrafficHeaderRules>
-
builder
-
serializableBuilderClass
public static Class<? extends ServiceConnectTestTrafficHeaderRules.Builder> serializableBuilderClass() -
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-