public RollbackTrigger withType(String type) {
        setType(type);
        return this;
    }
<p>
This property corresponds to the content of the same name for the <i>AWS CloudFormation <a
href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger">RollbackTrigger</a> </i>
Data Type.
</p>

@param type
       This property corresponds to the content of the same name for the <i>AWS CloudFormation <a
       href="https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger"
       >RollbackTrigger</a> </i> Data Type.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-serverlessapplicationrepository/src/main/java/com/amazonaws/services/serverlessapplicationrepository/model/RollbackTrigger.java