Class RoutingConfigurationListItem
- java.lang.Object
-
- software.amazon.awssdk.services.sfn.model.RoutingConfigurationListItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RoutingConfigurationListItem.Builder,RoutingConfigurationListItem>
@Generated("software.amazon.awssdk:codegen") public final class RoutingConfigurationListItem extends Object implements SdkPojo, Serializable, 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRoutingConfigurationListItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoutingConfigurationListItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends RoutingConfigurationListItem.Builder>serializableBuilderClass()StringstateMachineVersionArn()The Amazon Resource Name (ARN) that identifies one or two state machine versions defined in the routing configuration.RoutingConfigurationListItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.Integerweight()The percentage of traffic you want to route to the second state machine version.-
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
-
stateMachineVersionArn
public final String 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
public final Integer weight()
The percentage of traffic you want to route to the second 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 the second state machine version. The sum of the weights in the routing configuration must be equal to 100.
-
toBuilder
public RoutingConfigurationListItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RoutingConfigurationListItem.Builder,RoutingConfigurationListItem>
-
builder
public static RoutingConfigurationListItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends RoutingConfigurationListItem.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.
-
-