public FleetAttributes withStoppedActions(String... stoppedActions) {
        if (this.stoppedActions == null) {
            setStoppedActions(new java.util.ArrayList<String>(stoppedActions.length));
        }
        for (String ele : stoppedActions) {
            this.stoppedActions.add(ele);
        }
        return this;
    }
<p>
A list of fleet activity that has been suspended using <a
href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_StopFleetActions.html">StopFleetActions</a>.
This includes fleet auto-scaling. This attribute is used with fleets where <code>ComputeType</code> is "EC2" or
"Container".
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStoppedActions(java.util.Collection)} or {@link #withStoppedActions(java.util.Collection)} if you want
to override the existing values.
</p>

@param stoppedActions
       A list of fleet activity that has been suspended using <a
       href="https://docs.aws.amazon.com/gamelift/latest/apireference/API_StopFleetActions.html"
       >StopFleetActions</a>. This includes fleet auto-scaling. This attribute is used with fleets where
       <code>ComputeType</code> is "EC2" or "Container".
@return Returns a reference to this object so that method calls can be chained together.
@see FleetAction
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/FleetAttributes.java