Class ServicesSchema.Builder
java.lang.Object
co.yellowdog.platform.model.builders.ValidatedBuilder<ServicesSchema>
co.yellowdog.platform.model.ServicesSchema.Builder
- Enclosing class:
ServicesSchema
A builder that can be used to build a new ServicesSchema that is automatically validated on build.
-
Method Summary
Modifier and TypeMethodDescriptionaccountServiceUrl
(String accountServiceUrl) The base URL where the Account service is located.Builds the object without enforcing validation constraints.cloudInfoServiceUrl
(String cloudInfoServiceUrl) The base URL where the Cloud Info service is located.computeServiceUrl
(String computeServiceUrl) The base URL where the Compute service is located.defaultUrl
(String defaultUrl) The default base URL where services are located.imagesServiceUrl
(String imagesServiceUrl) The base URL where the Images service is located.logServiceUrl
(String logServiceUrl) The base URL where the Log service is located.metricsServiceUrl
(String metricsServiceUrl) The base URL where the Metrics service is located.objectStoreServiceUrl
(String objectStoreServiceUrl) The base URL where the Object Store service is located.retry
(RetryProperties retry) schedulerServiceUrl
(String schedulerServiceUrl) The base URL where the Scheduler service is located.toString()
usageServiceUrl
(String usageServiceUrl) The base URL where the Usage service is located.Methods inherited from class co.yellowdog.platform.model.builders.ValidatedBuilder
build, validate
-
Method Details
-
retry
- Returns:
this
.
-
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
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
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
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
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
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
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
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
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
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
Description copied from class:ValidatedBuilder
Builds the object without enforcing validation constraints. This should only be used for testing purposes- Overrides:
buildUnchecked
in classValidatedBuilder<ServicesSchema>
- Returns:
- the object being built
-
toString
-