/** * <p> * Represents the LSI properties for the table when the backup was created. It includes the IndexName, KeySchema and * Projection for the LSIs on the table at the time of backup. * </p> * * @param localSecondaryIndexes * Represents the LSI properties for the table when the backup was created. It includes the IndexName, * KeySchema and Projection for the LSIs on the table at the time of backup. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceTableFeatureDetails withLocalSecondaryIndexes(java.util.Collection<LocalSecondaryIndexInfo> localSecondaryIndexes) { setLocalSecondaryIndexes(localSecondaryIndexes); return this; }
/** * <p> * Represents the LSI properties for the table when the backup was created. It includes the IndexName, KeySchema and * Projection for the LSIs on the table at the time of backup. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setLocalSecondaryIndexes(java.util.Collection)} or * {@link #withLocalSecondaryIndexes(java.util.Collection)} if you want to override the existing values. * </p> * * @param localSecondaryIndexes * Represents the LSI properties for the table when the backup was created. It includes the IndexName, * KeySchema and Projection for the LSIs on the table at the time of backup. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceTableFeatureDetails withLocalSecondaryIndexes(LocalSecondaryIndexInfo... localSecondaryIndexes) { if (this.localSecondaryIndexes == null) { setLocalSecondaryIndexes(new java.util.ArrayList<LocalSecondaryIndexInfo>(localSecondaryIndexes.length)); } for (LocalSecondaryIndexInfo ele : localSecondaryIndexes) { this.localSecondaryIndexes.add(ele); } return this; }
/** * <p> * Represents the LSI properties for the table when the backup was created. * It includes the IndexName, KeySchema and Projection for the LSIs on the * table at the time of backup. * </p> * <p> * Returns a reference to this object so that method calls can be chained * together. * * @param localSecondaryIndexes <p> * Represents the LSI properties for the table when the backup * was created. It includes the IndexName, KeySchema and * Projection for the LSIs on the table at the time of backup. * </p> * @return A reference to this updated object so that method calls can be * chained together. */ public SourceTableFeatureDetails withLocalSecondaryIndexes( java.util.Collection<LocalSecondaryIndexInfo> localSecondaryIndexes) { setLocalSecondaryIndexes(localSecondaryIndexes); return this; }
if (context.testExpression("LocalSecondaryIndexes", targetDepth)) { context.nextToken(); sourceTableFeatureDetails.setLocalSecondaryIndexes(new ListUnmarshaller<LocalSecondaryIndexInfo>(LocalSecondaryIndexInfoJsonUnmarshaller .getInstance()).unmarshall(context));
if (name.equals("LocalSecondaryIndexes")) { sourceTableFeatureDetails .setLocalSecondaryIndexes(new ListUnmarshaller<LocalSecondaryIndexInfo>( LocalSecondaryIndexInfoJsonUnmarshaller.getInstance()
/** * <p> * Represents the LSI properties for the table when the backup was created. It includes the IndexName, KeySchema and * Projection for the LSIs on the table at the time of backup. * </p> * * @param localSecondaryIndexes * Represents the LSI properties for the table when the backup was created. It includes the IndexName, * KeySchema and Projection for the LSIs on the table at the time of backup. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceTableFeatureDetails withLocalSecondaryIndexes(java.util.Collection<LocalSecondaryIndexInfo> localSecondaryIndexes) { setLocalSecondaryIndexes(localSecondaryIndexes); return this; }
/** * <p> * Represents the LSI properties for the table when the backup was created. It includes the IndexName, KeySchema and * Projection for the LSIs on the table at the time of backup. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setLocalSecondaryIndexes(java.util.Collection)} or * {@link #withLocalSecondaryIndexes(java.util.Collection)} if you want to override the existing values. * </p> * * @param localSecondaryIndexes * Represents the LSI properties for the table when the backup was created. It includes the IndexName, * KeySchema and Projection for the LSIs on the table at the time of backup. * @return Returns a reference to this object so that method calls can be chained together. */ public SourceTableFeatureDetails withLocalSecondaryIndexes(LocalSecondaryIndexInfo... localSecondaryIndexes) { if (this.localSecondaryIndexes == null) { setLocalSecondaryIndexes(new java.util.ArrayList<LocalSecondaryIndexInfo>(localSecondaryIndexes.length)); } for (LocalSecondaryIndexInfo ele : localSecondaryIndexes) { this.localSecondaryIndexes.add(ele); } return this; }
if (context.testExpression("LocalSecondaryIndexes", targetDepth)) { context.nextToken(); sourceTableFeatureDetails.setLocalSecondaryIndexes(new ListUnmarshaller<LocalSecondaryIndexInfo>(LocalSecondaryIndexInfoJsonUnmarshaller .getInstance()).unmarshall(context));