public AccessorSummary withType(AccessorType type) {
        this.type = type.toString();
        return this;
    }
<p>
The type of the accessor.
</p>
<note>
<p>
Currently accessor type is restricted to <code>BILLING_TOKEN</code>.
</p>
</note>

@param type
       The type of the accessor.</p> <note>
       <p>
       Currently accessor type is restricted to <code>BILLING_TOKEN</code>.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
@see AccessorType
aws-java-sdk-managedblockchain/src/main/java/com/amazonaws/services/managedblockchain/model/AccessorSummary.java