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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceConnectTestTrafficHeaderRules.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceConnectTestTrafficHeaderRules.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the HTTP header to examine for test traffic routing.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ServiceConnectTestTrafficHeaderRules.Builder>serializableBuilderClass()ServiceConnectTestTrafficHeaderRules.BuildertoBuilder()StringtoString()Returns a string representation of this object.ServiceConnectTestTrafficHeaderMatchRulesvalue()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, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final 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.- 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
public final ServiceConnectTestTrafficHeaderMatchRules 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
public ServiceConnectTestTrafficHeaderRules.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceConnectTestTrafficHeaderRules.Builder,ServiceConnectTestTrafficHeaderRules>
-
builder
public static ServiceConnectTestTrafficHeaderRules.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceConnectTestTrafficHeaderRules.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
-
-