public void setEventScopeCode(String eventScopeCode) {
        this.eventScopeCode = eventScopeCode;
    }
<p>
This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific event.
</p>
<ul>
<li>
<p>
If the <code>eventScopeCode</code> value is <code>PUBLIC</code>, then the <code>affectedAccounts</code> value is
always empty.
</p>
</li>
<li>
<p>
If the <code>eventScopeCode</code> value is <code>ACCOUNT_SPECIFIC</code>, then the <code>affectedAccounts</code>
value lists the affected Amazon Web Services accounts in your organization. For example, if an event affects a
service such as Amazon Elastic Compute Cloud and you have Amazon Web Services accounts that use that service,
those account IDs appear in the response.
</p>
</li>
<li>
<p>
If the <code>eventScopeCode</code> value is <code>NONE</code>, then the <code>eventArn</code> that you specified
in the request is invalid or doesn't exist.
</p>
</li>
</ul>

@param eventScopeCode
       This parameter specifies if the Health event is a public Amazon Web Service event or an account-specific
       event.</p>
       <ul>
       <li>
       <p>
       If the <code>eventScopeCode</code> value is <code>PUBLIC</code>, then the <code>affectedAccounts</code>
       value is always empty.
       </p>
       </li>
       <li>
       <p>
       If the <code>eventScopeCode</code> value is <code>ACCOUNT_SPECIFIC</code>, then the
       <code>affectedAccounts</code> value lists the affected Amazon Web Services accounts in your organization.
       For example, if an event affects a service such as Amazon Elastic Compute Cloud and you have Amazon Web
       Services accounts that use that service, those account IDs appear in the response.
       </p>
       </li>
       <li>
       <p>
       If the <code>eventScopeCode</code> value is <code>NONE</code>, then the <code>eventArn</code> that you
       specified in the request is invalid or doesn't exist.
       </p>
       </li>
@see EventScopeCode
aws-java-sdk-health/src/main/java/com/amazonaws/services/health/model/Event.java