code: public DescribeVpcEndpointServicesResult withServiceDetails(ServiceDetail... serviceDetails) {
          if (this.serviceDetails == null) {
              setServiceDetails(new com.amazonaws.internal.SdkInternalList<ServiceDetail>(serviceDetails.length));
          }
          for (ServiceDetail ele : serviceDetails) {
              this.serviceDetails.add(ele);
          }
          return this;
      }
docs: <p>
  Information about the service.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setServiceDetails(java.util.Collection)} or {@link #withServiceDetails(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param serviceDetails
  Information about the service.
  @return Returns a reference to this object so that method calls can be chained together.