public CloudFormationAction withResource(String resource) {
        setResource(resource);
        return this;
    }
<p>
The resource of the CloudFormation action.
</p>

@param resource
       The resource of the CloudFormation action.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-apptest/src/main/java/com/amazonaws/services/apptest/model/CloudFormationAction.java