/** * The list of all revisions for the specified configuration. * * @param revisions * The list of all revisions for the specified configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public ListConfigurationRevisionsResult withRevisions(java.util.Collection<ConfigurationRevision> revisions) { setRevisions(revisions); return this; }
/** * The list of all revisions for the specified configuration. * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setRevisions(java.util.Collection)} or {@link #withRevisions(java.util.Collection)} if you want to * override the existing values. * </p> * * @param revisions * The list of all revisions for the specified configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public ListConfigurationRevisionsResult withRevisions(ConfigurationRevision... revisions) { if (this.revisions == null) { setRevisions(new java.util.ArrayList<ConfigurationRevision>(revisions.length)); } for (ConfigurationRevision ele : revisions) { this.revisions.add(ele); } return this; }
listConfigurationRevisionsResult.setRevisions(new ListUnmarshaller<ConfigurationRevision>(ConfigurationRevisionJsonUnmarshaller .getInstance()).unmarshall(context));
/** * The list of all revisions for the specified configuration. * * @param revisions * The list of all revisions for the specified configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public ListConfigurationRevisionsResult withRevisions(java.util.Collection<ConfigurationRevision> revisions) { setRevisions(revisions); return this; }
/** * The list of all revisions for the specified configuration. * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setRevisions(java.util.Collection)} or {@link #withRevisions(java.util.Collection)} if you want to * override the existing values. * </p> * * @param revisions * The list of all revisions for the specified configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public ListConfigurationRevisionsResult withRevisions(ConfigurationRevision... revisions) { if (this.revisions == null) { setRevisions(new java.util.ArrayList<ConfigurationRevision>(revisions.length)); } for (ConfigurationRevision ele : revisions) { this.revisions.add(ele); } return this; }
listConfigurationRevisionsResult.setRevisions(new ListUnmarshaller<ConfigurationRevision>(ConfigurationRevisionJsonUnmarshaller .getInstance()).unmarshall(context));