public CreateDeploymentRequest withVariables(java.util.Map<String, String> variables) {
        setVariables(variables);
        return this;
    }
public CreateDeploymentRequest withVariables ( java . util . Map < String , String > variables ) { setVariables ( variables ) ; return this ; }
<p>
A map that defines the stage variables for the <a>Stage</a> resource that is associated with the new deployment.
Variable names can have alphanumeric and underscore characters, and the values must match
<code>[A-Za-z0-9-._~:/?#&amp;=,]+</code>.
</p>

@param variables
A map that defines the stage variables for the <a>Stage</a> resource that is associated with the new
deployment. Variable names can have alphanumeric and underscore characters, and the values must match
<code>[A-Za-z0-9-._~:/?#&amp;=,]+</code>.
@return Returns a reference to this object so that method calls can be chained together.