Class ServiceConnectTestTrafficRules
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.ServiceConnectTestTrafficRules
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceConnectTestTrafficRules.Builder,ServiceConnectTestTrafficRules>
@Generated("software.amazon.awssdk:codegen") public final class ServiceConnectTestTrafficRules extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceConnectTestTrafficRules.Builder,ServiceConnectTestTrafficRules>
The test traffic routing configuration for Amazon ECS blue/green deployments. This configuration allows you to define rules for routing specific traffic to the new service revision during the deployment process, allowing for safe testing before full production traffic shift.
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 interfaceServiceConnectTestTrafficRules.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceConnectTestTrafficRules.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ServiceConnectTestTrafficHeaderRulesheader()The HTTP header-based routing rules that determine which requests should be routed to the new service version during blue/green deployment testing.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ServiceConnectTestTrafficRules.Builder>serializableBuilderClass()ServiceConnectTestTrafficRules.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
-
header
public final ServiceConnectTestTrafficHeaderRules header()
The HTTP header-based routing rules that determine which requests should be routed to the new service version during blue/green deployment testing. These rules provide fine-grained control over test traffic routing based on request headers.
- Returns:
- The HTTP header-based routing rules that determine which requests should be routed to the new service version during blue/green deployment testing. These rules provide fine-grained control over test traffic routing based on request headers.
-
toBuilder
public ServiceConnectTestTrafficRules.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceConnectTestTrafficRules.Builder,ServiceConnectTestTrafficRules>
-
builder
public static ServiceConnectTestTrafficRules.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceConnectTestTrafficRules.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
-
-