public Byoasn withState(AsnState state) {
        this.state = state.toString();
        return this;
    }
<p>
The provisioning state of the BYOASN.
</p>

@param state
       The provisioning state of the BYOASN.
@return Returns a reference to this object so that method calls can be chained together.
@see AsnState
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/Byoasn.java