/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.stepfunctions.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdateStateMachineAliasRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The Amazon Resource Name (ARN) of the state machine alias. *
*/ private String stateMachineAliasArn; /** ** A description of the state machine alias. *
*/ private String description; /** ** The routing configuration of the state machine alias. *
*
* An array of RoutingConfig
objects that specifies up to two state machine versions that the alias
* starts executions for.
*
* The Amazon Resource Name (ARN) of the state machine alias. *
* * @param stateMachineAliasArn * The Amazon Resource Name (ARN) of the state machine alias. */ public void setStateMachineAliasArn(String stateMachineAliasArn) { this.stateMachineAliasArn = stateMachineAliasArn; } /** ** The Amazon Resource Name (ARN) of the state machine alias. *
* * @return The Amazon Resource Name (ARN) of the state machine alias. */ public String getStateMachineAliasArn() { return this.stateMachineAliasArn; } /** ** The Amazon Resource Name (ARN) of the state machine alias. *
* * @param stateMachineAliasArn * The Amazon Resource Name (ARN) of the state machine alias. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateStateMachineAliasRequest withStateMachineAliasArn(String stateMachineAliasArn) { setStateMachineAliasArn(stateMachineAliasArn); return this; } /** ** A description of the state machine alias. *
* * @param description * A description of the state machine alias. */ public void setDescription(String description) { this.description = description; } /** ** A description of the state machine alias. *
* * @return A description of the state machine alias. */ public String getDescription() { return this.description; } /** ** A description of the state machine alias. *
* * @param description * A description of the state machine alias. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateStateMachineAliasRequest withDescription(String description) { setDescription(description); return this; } /** ** The routing configuration of the state machine alias. *
*
* An array of RoutingConfig
objects that specifies up to two state machine versions that the alias
* starts executions for.
*
* An array of
* The routing configuration of the state machine alias.
*
* An array of RoutingConfig
objects that specifies up to two state machine versions that the
* alias starts executions for.
*/
public java.util.ListRoutingConfig
objects that specifies up to two state machine versions that the alias
* starts executions for.
*
* An array of
* The routing configuration of the state machine alias.
*
* An array of
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setRoutingConfiguration(java.util.Collection)} or {@link #withRoutingConfiguration(java.util.Collection)}
* if you want to override the existing values.
* RoutingConfig
objects that specifies up to two state machine versions that the
* alias starts executions for.
*/
public void setRoutingConfiguration(java.util.CollectionRoutingConfig
objects that specifies up to two state machine versions that the alias
* starts executions for.
*
* An array of
* The routing configuration of the state machine alias.
*
* An array of RoutingConfig
objects that specifies up to two state machine versions that the
* alias starts executions for.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateStateMachineAliasRequest withRoutingConfiguration(RoutingConfigurationListItem... routingConfiguration) {
if (this.routingConfiguration == null) {
setRoutingConfiguration(new java.util.ArrayListRoutingConfig
objects that specifies up to two state machine versions that the alias
* starts executions for.
*
* An array of RoutingConfig
objects that specifies up to two state machine versions that the
* alias starts executions for.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateStateMachineAliasRequest withRoutingConfiguration(java.util.Collection