public static final class HarborTypes.Info.Builder
extends java.lang.Object
HarborTypes.Info
.Constructor and Description |
---|
Builder(java.lang.String version,
java.util.Calendar creationTime,
java.net.URI uiAccessUrl,
java.util.List<java.lang.String> certChain,
HarborTypes.GarbageCollection garbageCollection,
java.util.List<HarborTypes.StorageInfo> storage,
HealthTypes.Info health)
Constructor with parameters for the required properties of
HarborTypes.Info . |
Modifier and Type | Method and Description |
---|---|
HarborTypes.Info |
build() |
HarborTypes.Info.Builder |
setCluster(java.lang.String cluster)
Identifier of the cluster.
|
HarborTypes.Info.Builder |
setNamespace(java.lang.String namespace)
Identifier of the Harbor namespace in case it is created in a Kubernetes
environment.
|
public Builder(java.lang.String version, java.util.Calendar creationTime, java.net.URI uiAccessUrl, java.util.List<java.lang.String> certChain, HarborTypes.GarbageCollection garbageCollection, java.util.List<HarborTypes.StorageInfo> storage, HealthTypes.Info health)
HarborTypes.Info
.public HarborTypes.Info.Builder setCluster(java.lang.String cluster)
null
, container registry is not created on the cluster specified by
HarborTypes.CreateSpec.getCluster()
.cluster
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: ClusterComputeResource
. When methods
return a value of this class as a return value, the property will be an
identifier for the resource type: ClusterComputeResource
.public HarborTypes.Info.Builder setNamespace(java.lang.String namespace)
null
, no Kubernetes namespace is created for the Harbor.namespace
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: NamespaceInstance
. When methods return
a value of this class as a return value, the property will be an identifier for
the resource type: NamespaceInstance
.public HarborTypes.Info build()