public static final class AllocatedService.Builder
extends java.lang.Object
AllocatedService.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
AllocatedService. |
| Modifier and Type | Method and Description |
|---|---|
AllocatedService |
build() |
AllocatedService.Builder |
setAllocationDetails(java.util.List<KeyValuePair> allocationDetails)
Additional properties of a service, say the sub_pool_size and sub_pool_type for
a LoadBalancer.
|
AllocatedService.Builder |
setHighAvailabilityStatus(java.lang.String highAvailabilityStatus)
Possible values are:
AllocatedService.HIGH_AVAILABILITY_STATUS_ACTIVE
AllocatedService.HIGH_AVAILABILITY_STATUS_STANDBY
AllocatedService.HIGH_AVAILABILITY_STATUS_DOWN
AllocatedService.HIGH_AVAILABILITY_STATUS_SYNC
AllocatedService.HIGH_AVAILABILITY_STATUS_UNKNOWN
Represents the active or the standby state of the service. |
AllocatedService.Builder |
setServiceReference(ResourceReference serviceReference) |
public Builder()
AllocatedService.public AllocatedService.Builder setAllocationDetails(java.util.List<KeyValuePair> allocationDetails)
allocationDetails - New value for the property.public AllocatedService.Builder setHighAvailabilityStatus(java.lang.String highAvailabilityStatus)
highAvailabilityStatus - New value for the property.public AllocatedService.Builder setServiceReference(ResourceReference serviceReference)
serviceReference - New value for the property.public AllocatedService build()