Class ServiceConnectTestTrafficHeaderMatchRules
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.ServiceConnectTestTrafficHeaderMatchRules
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceConnectTestTrafficHeaderMatchRules.Builder,ServiceConnectTestTrafficHeaderMatchRules>
@Generated("software.amazon.awssdk:codegen") public final class ServiceConnectTestTrafficHeaderMatchRules extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceConnectTestTrafficHeaderMatchRules.Builder,ServiceConnectTestTrafficHeaderMatchRules>
The header matching rules for test traffic routing in Amazon ECS blue/green deployments. These rules determine how incoming requests are matched based on HTTP headers to route test traffic to the new service revision.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceConnectTestTrafficHeaderMatchRules.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceConnectTestTrafficHeaderMatchRules.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringexact()The exact value that the HTTP header must match for the test traffic routing rule to apply.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ServiceConnectTestTrafficHeaderMatchRules.Builder>serializableBuilderClass()ServiceConnectTestTrafficHeaderMatchRules.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
exact
public final String exact()
The exact value that the HTTP header must match for the test traffic routing rule to apply. This provides precise control over which requests are routed to the new service revision during blue/green deployments.
- Returns:
- The exact value that the HTTP header must match for the test traffic routing rule to apply. This provides precise control over which requests are routed to the new service revision during blue/green deployments.
-
toBuilder
public ServiceConnectTestTrafficHeaderMatchRules.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceConnectTestTrafficHeaderMatchRules.Builder,ServiceConnectTestTrafficHeaderMatchRules>
-
builder
public static ServiceConnectTestTrafficHeaderMatchRules.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceConnectTestTrafficHeaderMatchRules.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-