docs: public BatchGetDeploymentGroupsResult withDeploymentGroupsInfo(DeploymentGroupInfo... deploymentGroupsInfo) {
          if (this.deploymentGroupsInfo == null) {
              setDeploymentGroupsInfo(new com.amazonaws.internal.SdkInternalList<DeploymentGroupInfo>(deploymentGroupsInfo.length));
          }
          for (DeploymentGroupInfo ele : deploymentGroupsInfo) {
              this.deploymentGroupsInfo.add(ele);
          }
          return this;
      }