public Action withType(String type) {
        setType(type);
        return this;
    }
<p>
The type of action.
</p>

@param type
       The type of action.
@return Returns a reference to this object so that method calls can be chained together.
@see ActionTypeEnum
aws-java-sdk-elasticloadbalancingv2/src/main/java/com/amazonaws/services/elasticloadbalancingv2/model/Action.java