Class ServicesSchema.Builder

Enclosing class:
ServicesSchema

public static class ServicesSchema.Builder extends ValidatedBuilder<ServicesSchema>
A builder that can be used to build a new ServicesSchema that is automatically validated on build.
  • Method Details

    • retry

      Returns:
      this.
    • defaultUrl

      public ServicesSchema.Builder defaultUrl(String defaultUrl)
      The default base URL where services are located. This is the YellowDog Cell URL rather than a service specific path.
      Parameters:
      defaultUrl - the base URL where services are located
      Returns:
      this.
    • accountServiceUrl

      public ServicesSchema.Builder accountServiceUrl(String accountServiceUrl)
      The base URL where the Account service is located. This is the YellowDog Cell URL rather than a service specific path.
      Parameters:
      accountServiceUrl - the base URL where the Account service is located
      Returns:
      this.
    • computeServiceUrl

      public ServicesSchema.Builder computeServiceUrl(String computeServiceUrl)
      The base URL where the Compute service is located. This is the YellowDog Cell URL rather than a service specific path.
      Parameters:
      computeServiceUrl - the base URL where the Compute service is located
      Returns:
      this.
    • logServiceUrl

      public ServicesSchema.Builder logServiceUrl(String logServiceUrl)
      The base URL where the Log service is located. This is the YellowDog Cell URL rather than a service specific path.
      Parameters:
      logServiceUrl - the base URL where the Log service is located
      Returns:
      this.
    • imagesServiceUrl

      public ServicesSchema.Builder imagesServiceUrl(String imagesServiceUrl)
      The base URL where the Images service is located. This is the YellowDog Cell URL rather than a service specific path.
      Parameters:
      imagesServiceUrl - the base URL where the Images service is located
      Returns:
      this.
    • objectStoreServiceUrl

      public ServicesSchema.Builder objectStoreServiceUrl(String objectStoreServiceUrl)
      The base URL where the Object Store service is located. This is the YellowDog Cell URL rather than a service specific path.
      Parameters:
      objectStoreServiceUrl - the base URL where the Object Store service is located
      Returns:
      this.
    • schedulerServiceUrl

      public ServicesSchema.Builder schedulerServiceUrl(String schedulerServiceUrl)
      The base URL where the Scheduler service is located. This is the YellowDog Cell URL rather than a service specific path.
      Parameters:
      schedulerServiceUrl - the base URL where the Scheduler service is located
      Returns:
      this.
    • usageServiceUrl

      public ServicesSchema.Builder usageServiceUrl(String usageServiceUrl)
      The base URL where the Usage service is located. This is the YellowDog Cell URL rather than a service specific path.
      Parameters:
      usageServiceUrl - the base URL where the Usage service is located
      Returns:
      this.
    • cloudInfoServiceUrl

      public ServicesSchema.Builder cloudInfoServiceUrl(String cloudInfoServiceUrl)
      The base URL where the Cloud Info service is located. This is the YellowDog Cell URL rather than a service specific path.
      Parameters:
      cloudInfoServiceUrl - the base URL where the Cloud Info service is located
      Returns:
      this.
    • metricsServiceUrl

      public ServicesSchema.Builder metricsServiceUrl(String metricsServiceUrl)
      The base URL where the Metrics service is located. This is the YellowDog Cell URL rather than a service specific path.
      Parameters:
      metricsServiceUrl - the base URL where the Metrics service is located
      Returns:
      this.
    • buildUnchecked

      public ServicesSchema buildUnchecked()
      Description copied from class: ValidatedBuilder
      Builds the object without enforcing validation constraints. This should only be used for testing purposes
      Overrides:
      buildUnchecked in class ValidatedBuilder<ServicesSchema>
      Returns:
      the object being built
    • toString

      public String toString()
      Overrides:
      toString in class Object