code: public void setBaseEndpointDnsNames(java.util.Collection<String> baseEndpointDnsNames) {
          if (baseEndpointDnsNames == null) {
              this.baseEndpointDnsNames = null;
              return;
          }
  
          this.baseEndpointDnsNames = new com.amazonaws.internal.SdkInternalList<String>(baseEndpointDnsNames);
      }
docs: <p>
  The DNS names for the service.
  </p>
  
  @param baseEndpointDnsNames
  The DNS names for the service.