@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        CsmConfiguration that = (CsmConfiguration) o;

        if (enabled != that.enabled) return false;
        if (port != that.port) return false;
        if (host != null ? !host.equals(that.host) : that.host != null) return false;
        return clientId != null ? clientId.equals(that.clientId) : that.clientId == null;

    }
The client ID to set on the monitoring events.
aws-java-sdk-core/src/main/java/com/amazonaws/monitoring/CsmConfiguration.java