All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.iot.discovery.model.DiscoverResponse Maven / Gradle / Ivy

There is a newer version: 1.23.0
Show newest version
package software.amazon.awssdk.iot.discovery.model;

import java.util.List;
import java.util.Objects;

/**
 * Top-level response data for a greengrass discovery request.  Contains a list of available greengrass groups.
 *
 * API Documentation: https://docs.aws.amazon.com/greengrass/latest/developerguide/gg-discover-api.html
 */
public class DiscoverResponse {
    private List GGGroups;

    /**
     * @return list of discovered Greengrass groups
     */
    public List getGGGroups() {
        return GGGroups;
    }

    /**
     * Sets the list of discovered Greengrass groups
     * @param GGGroups list of discovered Greengrass groups
     */
    public void setGGGroups(List GGGroups) {
        this.GGGroups = GGGroups;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        DiscoverResponse that = (DiscoverResponse) o;
        return Objects.equals(GGGroups, that.GGGroups);
    }

    @Override
    public int hashCode() {
        return Objects.hash(GGGroups);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy