Class RoutingConfigurationListItem
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RoutingConfigurationListItem.Builder,RoutingConfigurationListItem>
Contains details about the routing configuration of a state machine alias. In a routing configuration, you define an array of objects that specify up to two state machine versions. You also specify the percentage of traffic to be routed to each version.
- 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()static Class<? extends RoutingConfigurationListItem.Builder>final StringThe Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.final StringtoString()Returns a string representation of this object.final Integerweight()The percentage of traffic you want to route to a state machine version.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
-
stateMachineVersionArn
The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.
If you specify the ARN of a second version, it must belong to the same state machine as the first version.
- Returns:
- The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing
configuration.
If you specify the ARN of a second version, it must belong to the same state machine as the first version.
-
weight
The percentage of traffic you want to route to a state machine version. The sum of the weights in the routing configuration must be equal to 100.
- Returns:
- The percentage of traffic you want to route to a state machine version. The sum of the weights in the routing configuration must be equal to 100.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RoutingConfigurationListItem.Builder,RoutingConfigurationListItem>
-
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
-