public OperationSummary withType(OperationType type) {
        this.type = type.toString();
        return this;
    }
<p>
Type of the action requested.
</p>

@param type
       Type of the action requested.
@return Returns a reference to this object so that method calls can be chained together.
@see OperationType
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53domains/model/OperationSummary.java