public AwsEc2NetworkInterfaceAttachment withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
The attachment state.
</p>
<p>
Valid values: <code>attaching</code> | <code>attached</code> | <code>detaching</code> | <code>detached</code>
</p>

@param status
       The attachment state.</p>
       <p>
       Valid values: <code>attaching</code> | <code>attached</code> | <code>detaching</code> |
       <code>detached</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/AwsEc2NetworkInterfaceAttachment.java