code: public CreateDeploymentGroupRequest withEcsServices(ECSService... ecsServices) {
          if (this.ecsServices == null) {
              setEcsServices(new com.amazonaws.internal.SdkInternalList<ECSService>(ecsServices.length));
          }
          for (ECSService ele : ecsServices) {
              this.ecsServices.add(ele);
          }
          return this;
      }
docs: <p>
  The target Amazon ECS services in the deployment group. This applies only to deployment groups that use the
  Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name
  pair using the format <code>&lt;clustername&gt;:&lt;servicename&gt;</code>.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setEcsServices(java.util.Collection)} or {@link #withEcsServices(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param ecsServices
  The target Amazon ECS services in the deployment group. This applies only to deployment groups that use
  the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and
  service name pair using the format <code>&lt;clustername&gt;:&lt;servicename&gt;</code>.
  @return Returns a reference to this object so that method calls can be chained together.