public static final class ScaleOutGroup.Builder
extends java.lang.Object
ScaleOutGroup
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ScaleOutGroup . |
Modifier and Type | Method and Description |
---|---|
ScaleOutGroup |
build() |
ScaleOutGroup.Builder |
setDescription(java.lang.String description)
The description of the scale-out group.
|
ScaleOutGroup.Builder |
setId(java.lang.String id)
The identifier of the scale-out group.
|
ScaleOutGroup.Builder |
setInstanceCount(java.lang.Long instanceCount)
The scaling factor to use.
|
ScaleOutGroup.Builder |
setMaximumInstanceCount(java.lang.Long maximumInstanceCount)
The maximum scaling factor.
|
ScaleOutGroup.Builder |
setMinimumInstanceCount(java.lang.Long minimumInstanceCount)
The minimum scaling factor.
|
public Builder()
ScaleOutGroup
.public ScaleOutGroup.Builder setId(java.lang.String id)
id
- New value for the property.public ScaleOutGroup.Builder setDescription(java.lang.String description)
description
- New value for the property.public ScaleOutGroup.Builder setInstanceCount(java.lang.Long instanceCount)
instanceCount
- New value for the property.public ScaleOutGroup.Builder setMinimumInstanceCount(java.lang.Long minimumInstanceCount)
minimumInstanceCount
- New value for the property.public ScaleOutGroup.Builder setMaximumInstanceCount(java.lang.Long maximumInstanceCount)
null
if there is no explicit limit.maximumInstanceCount
- New value for the property.public ScaleOutGroup build()