/** * <p> * For the <code>Modify</code> action, a list of <code>ResourceChangeDetail</code> structures that describes the * changes that AWS CloudFormation will make to the resource. * </p> * * @param details * For the <code>Modify</code> action, a list of <code>ResourceChangeDetail</code> structures that describes * the changes that AWS CloudFormation will make to the resource. * @return Returns a reference to this object so that method calls can be chained together. */ public ResourceChange withDetails(java.util.Collection<ResourceChangeDetail> details) { setDetails(details); return this; }
/** * <p> * For the <code>Modify</code> action, a list of <code>ResourceChangeDetail</code> structures that describes the * changes that AWS CloudFormation will make to the resource. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setDetails(java.util.Collection)} or {@link #withDetails(java.util.Collection)} if you want to override * the existing values. * </p> * * @param details * For the <code>Modify</code> action, a list of <code>ResourceChangeDetail</code> structures that describes * the changes that AWS CloudFormation will make to the resource. * @return Returns a reference to this object so that method calls can be chained together. */ public ResourceChange withDetails(ResourceChangeDetail... details) { if (this.details == null) { setDetails(new com.amazonaws.internal.SdkInternalList<ResourceChangeDetail>(details.length)); } for (ResourceChangeDetail ele : details) { this.details.add(ele); } return this; }
/** * <p> * For the <code>Modify</code> action, a list of <code>ResourceChangeDetail</code> structures that describes the * changes that AWS CloudFormation will make to the resource. * </p> * * @param details * For the <code>Modify</code> action, a list of <code>ResourceChangeDetail</code> structures that describes * the changes that AWS CloudFormation will make to the resource. * @return Returns a reference to this object so that method calls can be chained together. */ public ResourceChange withDetails(java.util.Collection<ResourceChangeDetail> details) { setDetails(details); return this; }
/** * <p> * For the <code>Modify</code> action, a list of <code>ResourceChangeDetail</code> structures that describes the * changes that AWS CloudFormation will make to the resource. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setDetails(java.util.Collection)} or {@link #withDetails(java.util.Collection)} if you want to override * the existing values. * </p> * * @param details * For the <code>Modify</code> action, a list of <code>ResourceChangeDetail</code> structures that describes * the changes that AWS CloudFormation will make to the resource. * @return Returns a reference to this object so that method calls can be chained together. */ public ResourceChange withDetails(ResourceChangeDetail... details) { if (this.details == null) { setDetails(new com.amazonaws.internal.SdkInternalList<ResourceChangeDetail>(details.length)); } for (ResourceChangeDetail ele : details) { this.details.add(ele); } return this; }