@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsDynamoDbTableProjection extends Object implements Serializable, Cloneable, StructuredPojo
For global and local secondary indexes, identifies the attributes that are copied from the table into the index.
| Constructor and Description | 
|---|
| AwsDynamoDbTableProjection() | 
| Modifier and Type | Method and Description | 
|---|---|
| AwsDynamoDbTableProjection | clone() | 
| boolean | equals(Object obj) | 
| List<String> | getNonKeyAttributes()
 The nonkey attributes that are projected into the index. | 
| String | getProjectionType()
 The types of attributes that are projected into the index. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setNonKeyAttributes(Collection<String> nonKeyAttributes)
 The nonkey attributes that are projected into the index. | 
| void | setProjectionType(String projectionType)
 The types of attributes that are projected into the index. | 
| String | toString()Returns a string representation of this object. | 
| AwsDynamoDbTableProjection | withNonKeyAttributes(Collection<String> nonKeyAttributes)
 The nonkey attributes that are projected into the index. | 
| AwsDynamoDbTableProjection | withNonKeyAttributes(String... nonKeyAttributes)
 The nonkey attributes that are projected into the index. | 
| AwsDynamoDbTableProjection | withProjectionType(String projectionType)
 The types of attributes that are projected into the index. | 
public List<String> getNonKeyAttributes()
The nonkey attributes that are projected into the index. For each attribute, provide the attribute name.
public void setNonKeyAttributes(Collection<String> nonKeyAttributes)
The nonkey attributes that are projected into the index. For each attribute, provide the attribute name.
nonKeyAttributes - The nonkey attributes that are projected into the index. For each attribute, provide the attribute name.public AwsDynamoDbTableProjection withNonKeyAttributes(String... nonKeyAttributes)
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
 setNonKeyAttributes(java.util.Collection) or withNonKeyAttributes(java.util.Collection) if you
 want to override the existing values.
 
nonKeyAttributes - The nonkey attributes that are projected into the index. For each attribute, provide the attribute name.public AwsDynamoDbTableProjection withNonKeyAttributes(Collection<String> nonKeyAttributes)
The nonkey attributes that are projected into the index. For each attribute, provide the attribute name.
nonKeyAttributes - The nonkey attributes that are projected into the index. For each attribute, provide the attribute name.public void setProjectionType(String projectionType)
The types of attributes that are projected into the index. Valid values are as follows:
 ALL
 
 INCLUDE
 
 KEYS_ONLY
 
projectionType - The types of attributes that are projected into the index. Valid values are as follows:
        
        ALL
        
        INCLUDE
        
        KEYS_ONLY
        
public String getProjectionType()
The types of attributes that are projected into the index. Valid values are as follows:
 ALL
 
 INCLUDE
 
 KEYS_ONLY
 
         ALL
         
         INCLUDE
         
         KEYS_ONLY
         
public AwsDynamoDbTableProjection withProjectionType(String projectionType)
The types of attributes that are projected into the index. Valid values are as follows:
 ALL
 
 INCLUDE
 
 KEYS_ONLY
 
projectionType - The types of attributes that are projected into the index. Valid values are as follows:
        
        ALL
        
        INCLUDE
        
        KEYS_ONLY
        
public String toString()
toString in class ObjectObject.toString()public AwsDynamoDbTableProjection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.