/* * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.iot.model; import java.io.Serializable; public class SearchIndexResult implements Serializable { /** *
* The token used to get the next set of results, or null
if
* there are no additional results.
*
* The things that match the search query. *
*/ private java.util.List* The thing groups that match the search query. *
*/ private java.util.List
* The token used to get the next set of results, or null
if
* there are no additional results.
*
* The token used to get the next set of results, or
* null
if there are no additional results.
*
* The token used to get the next set of results, or null
if
* there are no additional results.
*
* The token used to get the next set of results, or
* null
if there are no additional results.
*
* The token used to get the next set of results, or null
if
* there are no additional results.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param nextToken
* The token used to get the next set of results, or
* null
if there are no additional results.
*
* The things that match the search query. *
* * @return* The things that match the search query. *
*/ public java.util.List* The things that match the search query. *
* * @param things* The things that match the search query. *
*/ public void setThings(java.util.Collection* The things that match the search query. *
** Returns a reference to this object so that method calls can be chained * together. * * @param things
* The things that match the search query. *
* @return A reference to this updated object so that method calls can be * chained together. */ public SearchIndexResult withThings(ThingDocument... things) { if (getThings() == null) { this.things = new java.util.ArrayList* The things that match the search query. *
** Returns a reference to this object so that method calls can be chained * together. * * @param things
* The things that match the search query. *
* @return A reference to this updated object so that method calls can be * chained together. */ public SearchIndexResult withThings(java.util.Collection* The thing groups that match the search query. *
* * @return* The thing groups that match the search query. *
*/ public java.util.List* The thing groups that match the search query. *
* * @param thingGroups* The thing groups that match the search query. *
*/ public void setThingGroups(java.util.Collection* The thing groups that match the search query. *
** Returns a reference to this object so that method calls can be chained * together. * * @param thingGroups
* The thing groups that match the search query. *
* @return A reference to this updated object so that method calls can be * chained together. */ public SearchIndexResult withThingGroups(ThingGroupDocument... thingGroups) { if (getThingGroups() == null) { this.thingGroups = new java.util.ArrayList* The thing groups that match the search query. *
** Returns a reference to this object so that method calls can be chained * together. * * @param thingGroups
* The thing groups that match the search query. *
* @return A reference to this updated object so that method calls can be * chained together. */ public SearchIndexResult withThingGroups(java.util.Collection