/** * <p> * The regions where the global table has replicas. * </p> * * @param replicationGroup * The regions where the global table has replicas. * @return Returns a reference to this object so that method calls can be chained together. */ public GlobalTableDescription withReplicationGroup(java.util.Collection<ReplicaDescription> replicationGroup) { setReplicationGroup(replicationGroup); return this; }
/** * <p> * The regions where the global table has replicas. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setReplicationGroup(java.util.Collection)} or {@link #withReplicationGroup(java.util.Collection)} if you * want to override the existing values. * </p> * * @param replicationGroup * The regions where the global table has replicas. * @return Returns a reference to this object so that method calls can be chained together. */ public GlobalTableDescription withReplicationGroup(ReplicaDescription... replicationGroup) { if (this.replicationGroup == null) { setReplicationGroup(new java.util.ArrayList<ReplicaDescription>(replicationGroup.length)); } for (ReplicaDescription ele : replicationGroup) { this.replicationGroup.add(ele); } return this; }
/** * <p> * The regions where the global table has replicas. * </p> * <p> * Returns a reference to this object so that method calls can be chained * together. * * @param replicationGroup <p> * The regions where the global table has replicas. * </p> * @return A reference to this updated object so that method calls can be * chained together. */ public GlobalTableDescription withReplicationGroup( java.util.Collection<ReplicaDescription> replicationGroup) { setReplicationGroup(replicationGroup); return this; }
if (context.testExpression("ReplicationGroup", targetDepth)) { context.nextToken(); globalTableDescription.setReplicationGroup(new ListUnmarshaller<ReplicaDescription>(ReplicaDescriptionJsonUnmarshaller.getInstance()) .unmarshall(context));
if (name.equals("ReplicationGroup")) { globalTableDescription .setReplicationGroup(new ListUnmarshaller<ReplicaDescription>( ReplicaDescriptionJsonUnmarshaller.getInstance()
/** * <p> * The regions where the global table has replicas. * </p> * * @param replicationGroup * The regions where the global table has replicas. * @return Returns a reference to this object so that method calls can be chained together. */ public GlobalTableDescription withReplicationGroup(java.util.Collection<ReplicaDescription> replicationGroup) { setReplicationGroup(replicationGroup); return this; }
/** * <p> * The regions where the global table has replicas. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setReplicationGroup(java.util.Collection)} or {@link #withReplicationGroup(java.util.Collection)} if you * want to override the existing values. * </p> * * @param replicationGroup * The regions where the global table has replicas. * @return Returns a reference to this object so that method calls can be chained together. */ public GlobalTableDescription withReplicationGroup(ReplicaDescription... replicationGroup) { if (this.replicationGroup == null) { setReplicationGroup(new java.util.ArrayList<ReplicaDescription>(replicationGroup.length)); } for (ReplicaDescription ele : replicationGroup) { this.replicationGroup.add(ele); } return this; }
if (context.testExpression("ReplicationGroup", targetDepth)) { context.nextToken(); globalTableDescription.setReplicationGroup(new ListUnmarshaller<ReplicaDescription>(ReplicaDescriptionJsonUnmarshaller.getInstance()) .unmarshall(context));