/** * <p> * Specify a version label to show a specific application version. * </p> * * @param versionLabels * Specify a version label to show a specific application version. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeApplicationVersionsRequest withVersionLabels(java.util.Collection<String> versionLabels) { setVersionLabels(versionLabels); return this; }
/** * <p> * Specify a version label to show a specific application version. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setVersionLabels(java.util.Collection)} or {@link #withVersionLabels(java.util.Collection)} if you want * to override the existing values. * </p> * * @param versionLabels * Specify a version label to show a specific application version. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeApplicationVersionsRequest withVersionLabels(String... versionLabels) { if (this.versionLabels == null) { setVersionLabels(new com.amazonaws.internal.SdkInternalList<String>(versionLabels.length)); } for (String ele : versionLabels) { this.versionLabels.add(ele); } return this; }
/** * <p> * Specify a version label to show a specific application version. * </p> * * @param versionLabels * Specify a version label to show a specific application version. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeApplicationVersionsRequest withVersionLabels(java.util.Collection<String> versionLabels) { setVersionLabels(versionLabels); return this; }
/** * <p> * Specify a version label to show a specific application version. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setVersionLabels(java.util.Collection)} or {@link #withVersionLabels(java.util.Collection)} if you want * to override the existing values. * </p> * * @param versionLabels * Specify a version label to show a specific application version. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeApplicationVersionsRequest withVersionLabels(String... versionLabels) { if (this.versionLabels == null) { setVersionLabels(new com.amazonaws.internal.SdkInternalList<String>(versionLabels.length)); } for (String ele : versionLabels) { this.versionLabels.add(ele); } return this; }