/** * <p> * Information about your EC2 instances. * </p> * * @param backendServerDescriptions * Information about your EC2 instances. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerDescription withBackendServerDescriptions(java.util.Collection<BackendServerDescription> backendServerDescriptions) { setBackendServerDescriptions(backendServerDescriptions); return this; }
/** * <p> * Information about your EC2 instances. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setBackendServerDescriptions(java.util.Collection)} or * {@link #withBackendServerDescriptions(java.util.Collection)} if you want to override the existing values. * </p> * * @param backendServerDescriptions * Information about your EC2 instances. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerDescription withBackendServerDescriptions(BackendServerDescription... backendServerDescriptions) { if (this.backendServerDescriptions == null) { setBackendServerDescriptions(new com.amazonaws.internal.SdkInternalList<BackendServerDescription>(backendServerDescriptions.length)); } for (BackendServerDescription ele : backendServerDescriptions) { this.backendServerDescriptions.add(ele); } return this; }
/** * <p> * Information about your EC2 instances. * </p> * <p> * Returns a reference to this object so that method calls can be chained * together. * * @param backendServerDescriptions <p> * Information about your EC2 instances. * </p> * @return A reference to this updated object so that method calls can be * chained together. */ public LoadBalancerDescription withBackendServerDescriptions( java.util.Collection<BackendServerDescription> backendServerDescriptions) { setBackendServerDescriptions(backendServerDescriptions); return this; }
/** * <p> * Information about your EC2 instances. * </p> * * @param backendServerDescriptions * Information about your EC2 instances. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerDescription withBackendServerDescriptions(java.util.Collection<BackendServerDescription> backendServerDescriptions) { setBackendServerDescriptions(backendServerDescriptions); return this; }
/** * <p> * Information about your EC2 instances. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setBackendServerDescriptions(java.util.Collection)} or * {@link #withBackendServerDescriptions(java.util.Collection)} if you want to override the existing values. * </p> * * @param backendServerDescriptions * Information about your EC2 instances. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerDescription withBackendServerDescriptions(BackendServerDescription... backendServerDescriptions) { if (this.backendServerDescriptions == null) { setBackendServerDescriptions(new com.amazonaws.internal.SdkInternalList<BackendServerDescription>(backendServerDescriptions.length)); } for (BackendServerDescription ele : backendServerDescriptions) { this.backendServerDescriptions.add(ele); } return this; }