public static final class OnlineTypes.CreateSpec.Builder
extends java.lang.Object
OnlineTypes.CreateSpec
.Constructor and Description |
---|
Builder(java.net.URI location)
Constructor with parameters for the required properties of
OnlineTypes.CreateSpec . |
Modifier and Type | Method and Description |
---|---|
OnlineTypes.CreateSpec |
build() |
OnlineTypes.CreateSpec.Builder |
setDescription(java.lang.String description)
Description of the Depot.
|
OnlineTypes.CreateSpec.Builder |
setEnabled(java.lang.Boolean enabled)
Flag indicating whether this depot is enabled or not.
|
public Builder(java.net.URI location)
OnlineTypes.CreateSpec
.public OnlineTypes.CreateSpec.Builder setDescription(java.lang.String description)
null
, the description will be empty.description
- New value for the property.public OnlineTypes.CreateSpec.Builder setEnabled(java.lang.Boolean enabled)
null
the depot will be enabled.enabled
- New value for the property.public OnlineTypes.CreateSpec build()