Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.hubspot.singularity;
  
  import java.util.List;
  import java.util.Map;
  
 
 public class SingularityDeploy extends SingularityJsonObject {
 
   private final String requestId;
 
   private final String id;
 
   private final Optional<Stringversion;
   private final Optional<Longtimestamp;
   private final Optional<Map<StringString>> metadata;
 
   private final Optional<StringcustomExecutorCmd;
   private final Optional<StringcustomExecutorId;
   private final Optional<StringcustomExecutorSource;
   private final Optional<Resourcesresources;
 
   private final Optional<Stringcommand;
   private final Optional<Map<StringString>> env;
   private final Optional<List<String>> uris;
   private final Optional<ExecutorDataexecutorData;
 
   private final Optional<StringhealthcheckUri;
   private final Optional<LonghealthcheckIntervalSeconds;
   private final Optional<LonghealthcheckTimeoutSeconds;
 
   private final Optional<LongdeployHealthTimeoutSeconds;
 
 
   private final Optional<StringserviceBasePath;
   private final Optional<List<String>> loadBalancerGroups;
   private final Optional<Map<StringObject>> loadBalancerOptions;
 
   public static SingularityDeployBuilder newBuilder(String requestIdString id) {
     return new SingularityDeployBuilder(requestIdid);
   }
 
   public static SingularityDeploy fromBytes(byte[] bytesObjectMapper objectMapper) {
     try {
       return objectMapper.readValue(bytesSingularityDeploy.class);
     } catch (IOException e) {
       throw new SingularityJsonException(e);
     }
   }
 
   public SingularityDeploy(@JsonProperty("requestId"String requestId, @JsonProperty("id"String id, @JsonProperty("command"Optional<Stringcommand, @JsonProperty("customExecutorCmd"Optional<StringcustomExecutorCmd,  @JsonProperty("customExecutorId"Optional<StringcustomExecutorId,
       @JsonProperty("customExecutorSource"Optional<StringcustomExecutorSource, @JsonProperty("resources"Optional<Resourcesresources, @JsonProperty("env"Optional<Map<StringString>> env, @JsonProperty("uris"Optional<List<String>> uris, @JsonProperty("metadata"Optional<Map<StringString>> metadata,
       @JsonProperty("executorData"Optional<ExecutorDataexecutorData, @JsonProperty("version"Optional<Stringversion, @JsonProperty("timestamp"Optional<Longtimestamp, @JsonProperty("deployHealthTimeoutSeconds"Optional<LongdeployHealthTimeoutSeconds,
       @JsonProperty("healthcheckUri"Optional<StringhealthcheckUri, @JsonProperty("healthcheckIntervalSeconds"Optional<LonghealthcheckIntervalSeconds, @JsonProperty("healthcheckTimeoutSeconds"Optional<LonghealthcheckTimeoutSeconds,
       @JsonProperty("serviceBasePath"Optional<StringserviceBasePath, @JsonProperty("loadBalancerGroups"Optional<List<String>> loadBalancerGroups, @JsonProperty("considerHealthyAfterRunningForSeconds"Optional<LongconsiderHealthyAfterRunningForSeconds,
       @JsonProperty("loadBalancerOptions"Optional<Map<StringObject>> loadBalancerOptions, @JsonProperty("skipHealthchecksOnDeploy"Optional<BooleanskipHealthchecksOnDeploy) {
     this. = requestId;
 
     this. = command;
     this. = resources;
 
     this. = customExecutorCmd;
     this. = customExecutorId;
     this. = customExecutorSource;
 
     this. = metadata;
     this. = version;
     this. = id;
     this. = timestamp;
     this. = env;
     this. = uris;
     this. = executorData;
 
     this. = healthcheckUri;
     this. = healthcheckIntervalSeconds;
     this. = healthcheckTimeoutSeconds;
     this. = skipHealthchecksOnDeploy;
 
     this. = considerHealthyAfterRunningForSeconds;
 
     this. = deployHealthTimeoutSeconds;
 
     this. = serviceBasePath;
     this. = loadBalancerGroups;
     this. = loadBalancerOptions;
   }
 
     return new SingularityDeployBuilder()
     .setCommand()
  }
  }
  public String getRequestId() {
    return ;
  }
  public String getId() {
    return ;
  }
  public Optional<StringgetVersion() {
    return ;
  }
  public Optional<LonggetTimestamp() {
    return ;
  }
  public Optional<Map<StringString>> getMetadata() {
    return ;
  }
    return ;
  }
    return ;
  }
    return ;
  }
  public Optional<StringgetCommand() {
    return ;
  }
  public Optional<Map<StringString>> getEnv() {
    return ;
  }
  public Optional<List<String>> getUris() {
    return ;
  }
    return ;
  }
    return ;
  }
  }
  }
    return ;
  }
  }
    return ;
  }
    return ;
  }
  }
  public String toString() {
    return "SingularityDeploy [" +
        "requestId='" +  + '\'' +
        ", id='" +  + '\'' +
        ", version=" +  +
        ", timestamp=" +  +
        ", metadata=" +  +
        ", customExecutorCmd=" +  +
        ", customExecutorId=" +  +
        ", customExecutorSource=" +  +
        ", resources=" +  +
        ", command=" +  +
        ", env=" +  +
        ", uris=" +  +
        ", executorData=" +  +
        ", healthcheckUri=" +  +
        ", healthcheckIntervalSeconds=" +  +
        ", healthcheckTimeoutSeconds=" +  +
        ", skipHealthchecksOnDeploy=" +  +
        ", deployHealthTimeoutSeconds=" +  +
        ", considerHealthyAfterRunningForSeconds=" +  +
        ", serviceBasePath=" +  +
        ", loadBalancerGroups=" +  +
        ", loadBalancerOptions=" +  +
        ']';
  }
New to GrepCode? Check out our FAQ X