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:
-
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()header()The HTTP header-based routing rules that determine which requests should be routed to the new service version during blue/green deployment testing.static Class<? extends ServiceConnectTestTrafficRules.Builder>final StringtoString()Returns a string representation of this object.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
-
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceConnectTestTrafficRules.Builder,ServiceConnectTestTrafficRules>
-
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
-