/** * <p> * An array of app IDs for the apps to be described. If you use this parameter, <code>DescribeApps</code> returns a * description of the specified apps. Otherwise, it returns a description of every app. * </p> * * @param appIds * An array of app IDs for the apps to be described. If you use this parameter, <code>DescribeApps</code> * returns a description of the specified apps. Otherwise, it returns a description of every app. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppsRequest withAppIds(java.util.Collection<String> appIds) { setAppIds(appIds); return this; }
/** * <p> * An array of app IDs for the apps to be described. If you use this parameter, <code>DescribeApps</code> returns a * description of the specified apps. Otherwise, it returns a description of every app. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setAppIds(java.util.Collection)} or {@link #withAppIds(java.util.Collection)} if you want to override the * existing values. * </p> * * @param appIds * An array of app IDs for the apps to be described. If you use this parameter, <code>DescribeApps</code> * returns a description of the specified apps. Otherwise, it returns a description of every app. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppsRequest withAppIds(String... appIds) { if (this.appIds == null) { setAppIds(new com.amazonaws.internal.SdkInternalList<String>(appIds.length)); } for (String ele : appIds) { this.appIds.add(ele); } return this; }
/** * <p> * An array of app IDs for the apps to be described. If you use this parameter, <code>DescribeApps</code> returns a * description of the specified apps. Otherwise, it returns a description of every app. * </p> * * @param appIds * An array of app IDs for the apps to be described. If you use this parameter, <code>DescribeApps</code> * returns a description of the specified apps. Otherwise, it returns a description of every app. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppsRequest withAppIds(java.util.Collection<String> appIds) { setAppIds(appIds); return this; }
/** * <p> * An array of app IDs for the apps to be described. If you use this parameter, <code>DescribeApps</code> returns a * description of the specified apps. Otherwise, it returns a description of every app. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setAppIds(java.util.Collection)} or {@link #withAppIds(java.util.Collection)} if you want to override the * existing values. * </p> * * @param appIds * An array of app IDs for the apps to be described. If you use this parameter, <code>DescribeApps</code> * returns a description of the specified apps. Otherwise, it returns a description of every app. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeAppsRequest withAppIds(String... appIds) { if (this.appIds == null) { setAppIds(new com.amazonaws.internal.SdkInternalList<String>(appIds.length)); } for (String ele : appIds) { this.appIds.add(ele); } return this; }