public void setEventBuses(java.util.Collection<AwsEventsEndpointEventBusesDetails> eventBuses) {
        if (eventBuses == null) {
            this.eventBuses = null;
            return;
        }

        this.eventBuses = new java.util.ArrayList<AwsEventsEndpointEventBusesDetails>(eventBuses);
    }
<p>
The event buses being used by the endpoint.
</p>

@param eventBuses
       The event buses being used by the endpoint.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEventsEndpointDetails.java