/* * 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.securityhub.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Information abut a global secondary index for the table. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AwsDynamoDbTableGlobalSecondaryIndex implements Serializable, Cloneable, StructuredPojo { /** *

* Whether the index is currently backfilling. *

*/ private Boolean backfilling; /** *

* The ARN of the index. *

*/ private String indexArn; /** *

* The name of the index. *

*/ private String indexName; /** *

* The total size in bytes of the index. *

*/ private Long indexSizeBytes; /** *

* The current status of the index. *

* */ private String indexStatus; /** *

* The number of items in the index. *

*/ private Integer itemCount; /** *

* The key schema for the index. *

*/ private java.util.List keySchema; /** *

* Attributes that are copied from the table into an index. *

*/ private AwsDynamoDbTableProjection projection; /** *

* Information about the provisioned throughput settings for the indexes. *

*/ private AwsDynamoDbTableProvisionedThroughput provisionedThroughput; /** *

* Whether the index is currently backfilling. *

* * @param backfilling * Whether the index is currently backfilling. */ public void setBackfilling(Boolean backfilling) { this.backfilling = backfilling; } /** *

* Whether the index is currently backfilling. *

* * @return Whether the index is currently backfilling. */ public Boolean getBackfilling() { return this.backfilling; } /** *

* Whether the index is currently backfilling. *

* * @param backfilling * Whether the index is currently backfilling. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsDynamoDbTableGlobalSecondaryIndex withBackfilling(Boolean backfilling) { setBackfilling(backfilling); return this; } /** *

* Whether the index is currently backfilling. *

* * @return Whether the index is currently backfilling. */ public Boolean isBackfilling() { return this.backfilling; } /** *

* The ARN of the index. *

* * @param indexArn * The ARN of the index. */ public void setIndexArn(String indexArn) { this.indexArn = indexArn; } /** *

* The ARN of the index. *

* * @return The ARN of the index. */ public String getIndexArn() { return this.indexArn; } /** *

* The ARN of the index. *

* * @param indexArn * The ARN of the index. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsDynamoDbTableGlobalSecondaryIndex withIndexArn(String indexArn) { setIndexArn(indexArn); return this; } /** *

* The name of the index. *

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

* The name of the index. *

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

* The name of the index. *

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

* The total size in bytes of the index. *

* * @param indexSizeBytes * The total size in bytes of the index. */ public void setIndexSizeBytes(Long indexSizeBytes) { this.indexSizeBytes = indexSizeBytes; } /** *

* The total size in bytes of the index. *

* * @return The total size in bytes of the index. */ public Long getIndexSizeBytes() { return this.indexSizeBytes; } /** *

* The total size in bytes of the index. *

* * @param indexSizeBytes * The total size in bytes of the index. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsDynamoDbTableGlobalSecondaryIndex withIndexSizeBytes(Long indexSizeBytes) { setIndexSizeBytes(indexSizeBytes); return this; } /** *

* The current status of the index. *

* * * @param indexStatus * The current status of the index.

*