/** * <p> * The IDs of the Trusted Advisor checks. * </p> * * @param checkIds * The IDs of the Trusted Advisor checks. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrustedAdvisorCheckSummariesRequest withCheckIds(java.util.Collection<String> checkIds) { setCheckIds(checkIds); return this; }
/** * <p> * The IDs of the Trusted Advisor checks. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setCheckIds(java.util.Collection)} or {@link #withCheckIds(java.util.Collection)} if you want to override * the existing values. * </p> * * @param checkIds * The IDs of the Trusted Advisor checks. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrustedAdvisorCheckSummariesRequest withCheckIds(String... checkIds) { if (this.checkIds == null) { setCheckIds(new com.amazonaws.internal.SdkInternalList<String>(checkIds.length)); } for (String ele : checkIds) { this.checkIds.add(ele); } return this; }
/** * <p> * The IDs of the Trusted Advisor checks. * </p> * * @param checkIds * The IDs of the Trusted Advisor checks. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrustedAdvisorCheckSummariesRequest withCheckIds(java.util.Collection<String> checkIds) { setCheckIds(checkIds); return this; }
/** * <p> * The IDs of the Trusted Advisor checks. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setCheckIds(java.util.Collection)} or {@link #withCheckIds(java.util.Collection)} if you want to override * the existing values. * </p> * * @param checkIds * The IDs of the Trusted Advisor checks. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeTrustedAdvisorCheckSummariesRequest withCheckIds(String... checkIds) { if (this.checkIds == null) { setCheckIds(new com.amazonaws.internal.SdkInternalList<String>(checkIds.length)); } for (String ele : checkIds) { this.checkIds.add(ele); } return this; }