public AwsEc2VpcDetails withState(String state) {
        setState(state);
        return this;
    }
<p>
The current state of the VPC. Valid values are <code>available</code> or <code>pending</code>.
</p>

@param state
       The current state of the VPC. Valid values are <code>available</code> or <code>pending</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEc2VpcDetails.java