/* * 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; /** *
* For global and local secondary indexes, identifies the attributes that are copied from the table into the index. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AwsDynamoDbTableProjection implements Serializable, Cloneable, StructuredPojo { /** ** The nonkey attributes that are projected into the index. For each attribute, provide the attribute name. *
*/ private java.util.List* The types of attributes that are projected into the index. Valid values are as follows: *
*
* ALL
*
* INCLUDE
*
* KEYS_ONLY
*
* The nonkey attributes that are projected into the index. For each attribute, provide the attribute name. *
* * @return The nonkey attributes that are projected into the index. For each attribute, provide the attribute name. */ public java.util.List* The nonkey attributes that are projected into the index. For each attribute, provide the attribute name. *
* * @param nonKeyAttributes * The nonkey attributes that are projected into the index. For each attribute, provide the attribute name. */ public void setNonKeyAttributes(java.util.Collection* The nonkey attributes that are projected into the index. For each attribute, provide the attribute name. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setNonKeyAttributes(java.util.Collection)} or {@link #withNonKeyAttributes(java.util.Collection)} if you * want to override the existing values. *
* * @param nonKeyAttributes * The nonkey attributes that are projected into the index. For each attribute, provide the attribute name. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsDynamoDbTableProjection withNonKeyAttributes(String... nonKeyAttributes) { if (this.nonKeyAttributes == null) { setNonKeyAttributes(new java.util.ArrayList* The nonkey attributes that are projected into the index. For each attribute, provide the attribute name. *
* * @param nonKeyAttributes * The nonkey attributes that are projected into the index. For each attribute, provide the attribute name. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsDynamoDbTableProjection withNonKeyAttributes(java.util.Collection* The types of attributes that are projected into the index. Valid values are as follows: *
*
* ALL
*
* INCLUDE
*
* KEYS_ONLY
*
* ALL
*
* INCLUDE
*
* KEYS_ONLY
*
* The types of attributes that are projected into the index. Valid values are as follows: *
*
* ALL
*
* INCLUDE
*
* KEYS_ONLY
*
* ALL
*
* INCLUDE
*
* KEYS_ONLY
*
* The types of attributes that are projected into the index. Valid values are as follows: *
*
* ALL
*
* INCLUDE
*
* KEYS_ONLY
*
* ALL
*
* INCLUDE
*
* KEYS_ONLY
*