public static final class HarborTypes.StorageSpec.Builder
extends java.lang.Object
HarborTypes.StorageSpec
.Constructor and Description |
---|
Builder(java.lang.String policy)
Constructor with parameters for the required properties of
HarborTypes.StorageSpec . |
Modifier and Type | Method and Description |
---|---|
HarborTypes.StorageSpec |
build() |
HarborTypes.StorageSpec.Builder |
setLimit(java.lang.Long limit)
The maximum amount of storage (in mebibytes) which can be utilized by the
registry for this specification.
|
public Builder(java.lang.String policy)
HarborTypes.StorageSpec
.public HarborTypes.StorageSpec.Builder setLimit(java.lang.Long limit)
null
, a default limit of 204800 mebibytes will be set as the
registry's storage capacity.limit
- New value for the property.public HarborTypes.StorageSpec build()