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