/* * Copyright 2018-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; import javax.annotation.Generated; @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribeIndexResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* The index name. *

*/ private String indexName; /** *

* The index status. *

*/ private String indexStatus; /** *

* Contains a value that specifies the type of indexing performed. Valid values are: *

* */ private String schema; /** *

* The index name. *

* * @param indexName * The index name. */ public void setIndexName(String indexName) { this.indexName = indexName; } /** *

* The index name. *

* * @return The index name. */ public String getIndexName() { return this.indexName; } /** *

* The index name. *

* * @param indexName * The index name. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeIndexResult withIndexName(String indexName) { setIndexName(indexName); return this; } /** *

* The index status. *

* * @param indexStatus * The index status. * @see IndexStatus */ public void setIndexStatus(String indexStatus) { this.indexStatus = indexStatus; } /** *

* The index status. *

* * @return The index status. * @see IndexStatus */ public String getIndexStatus() { return this.indexStatus; } /** *

* The index status. *

* * @param indexStatus * The index status. * @return Returns a reference to this object so that method calls can be chained together. * @see IndexStatus */ public DescribeIndexResult withIndexStatus(String indexStatus) { setIndexStatus(indexStatus); return this; } /** *

* The index status. *

* * @param indexStatus * The index status. * @return Returns a reference to this object so that method calls can be chained together. * @see IndexStatus */ public DescribeIndexResult withIndexStatus(IndexStatus indexStatus) { this.indexStatus = indexStatus.toString(); return this; } /** *

* Contains a value that specifies the type of indexing performed. Valid values are: *

* * * @param schema * Contains a value that specifies the type of indexing performed. Valid values are:

*