public DescribeCrossAccountAccessRoleResult withValid(Boolean valid) {
        setValid(valid);
        return this;
    }
<p>
A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon
Inspector to access your AWS account.
</p>

@param valid
       A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon
       Inspector to access your AWS account.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/DescribeCrossAccountAccessRoleResult.java