public GenerateCredentialReportResult withState(String state) {
        setState(state);
        return this;
    }
<p>
Information about the state of the credential report.
</p>

@param state
       Information about the state of the credential report.
@return Returns a reference to this object so that method calls can be chained together.
@see ReportStateType
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/GenerateCredentialReportResult.java