public static final class ProjectsTypes.Info.Builder
extends java.lang.Object
ProjectsTypes.Info
.Constructor and Description |
---|
Builder(java.lang.String name,
ProjectsTypes.ConfigStatus configStatus,
ProjectsTypes.Scope scope,
java.util.Calendar creationTime)
Constructor with parameters for the required properties of
ProjectsTypes.Info . |
Modifier and Type | Method and Description |
---|---|
ProjectsTypes.Info |
build() |
ProjectsTypes.Info.Builder |
setAccessUrl(java.net.URI accessUrl)
URL to access the harbor project through docker client.
|
ProjectsTypes.Info.Builder |
setMessage(LocalizableMessage message)
Details about the ERROR project status.
|
ProjectsTypes.Info.Builder |
setUpdateTime(java.util.Calendar updateTime)
The date and time when the harbor project purge API was triggered.
|
public Builder(java.lang.String name, ProjectsTypes.ConfigStatus configStatus, ProjectsTypes.Scope scope, java.util.Calendar creationTime)
ProjectsTypes.Info
.public ProjectsTypes.Info.Builder setUpdateTime(java.util.Calendar updateTime)
getUpdateTime()
is same as getCreationTime()
.
This property is optional and it is only relevant when the value of getConfigStatus()
is ProjectsTypes.ConfigStatus.READY
.updateTime
- New value for the property.public ProjectsTypes.Info.Builder setAccessUrl(java.net.URI accessUrl)
getConfigStatus()
is ProjectsTypes.ConfigStatus.READY
.accessUrl
- New value for the property.public ProjectsTypes.Info.Builder setMessage(LocalizableMessage message)
getConfigStatus()
is ProjectsTypes.ConfigStatus.ERROR
.message
- New value for the property.public ProjectsTypes.Info build()