public void setState(State state) {
        this.state = state;
    }
<p>
An object detailing the status of Amazon Inspector for the account.
</p>

@param state
       An object detailing the status of Amazon Inspector for the account.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/AccountState.java