public CreateCapabilityResult withType(String type) {
        setType(type);
        return this;
    }
<p>
Returns the type of the capability. Currently, only <code>edi</code> is supported.
</p>

@param type
       Returns the type of the capability. Currently, only <code>edi</code> is supported.
@return Returns a reference to this object so that method calls can be chained together.
@see CapabilityType
aws-java-sdk-b2bi/src/main/java/com/amazonaws/services/b2bi/model/CreateCapabilityResult.java