/** * <p> * The additions associated with the platform. * </p> * * @param supportedAddonList * The additions associated with the platform. * @return Returns a reference to this object so that method calls can be chained together. */ public PlatformSummary withSupportedAddonList(java.util.Collection<String> supportedAddonList) { setSupportedAddonList(supportedAddonList); return this; }
/** * <p> * The additions associated with the platform. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setSupportedAddonList(java.util.Collection)} or {@link #withSupportedAddonList(java.util.Collection)} if * you want to override the existing values. * </p> * * @param supportedAddonList * The additions associated with the platform. * @return Returns a reference to this object so that method calls can be chained together. */ public PlatformSummary withSupportedAddonList(String... supportedAddonList) { if (this.supportedAddonList == null) { setSupportedAddonList(new com.amazonaws.internal.SdkInternalList<String>(supportedAddonList.length)); } for (String ele : supportedAddonList) { this.supportedAddonList.add(ele); } return this; }
/** * <p> * The additions associated with the platform. * </p> * * @param supportedAddonList * The additions associated with the platform. * @return Returns a reference to this object so that method calls can be chained together. */ public PlatformSummary withSupportedAddonList(java.util.Collection<String> supportedAddonList) { setSupportedAddonList(supportedAddonList); return this; }
/** * <p> * The additions associated with the platform. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setSupportedAddonList(java.util.Collection)} or {@link #withSupportedAddonList(java.util.Collection)} if * you want to override the existing values. * </p> * * @param supportedAddonList * The additions associated with the platform. * @return Returns a reference to this object so that method calls can be chained together. */ public PlatformSummary withSupportedAddonList(String... supportedAddonList) { if (this.supportedAddonList == null) { setSupportedAddonList(new com.amazonaws.internal.SdkInternalList<String>(supportedAddonList.length)); } for (String ele : supportedAddonList) { this.supportedAddonList.add(ele); } return this; }