public static final class ContainerProject.Builder
extends java.lang.Object
ContainerProject
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ContainerProject . |
Modifier and Type | Method and Description |
---|---|
ContainerProject |
build() |
ContainerProject.Builder |
setContainerClusterId(java.lang.String containerClusterId)
Identifier of the container cluster to which this project/namespace belongs.
|
ContainerProject.Builder |
setDescription(java.lang.String description)
Description of this resource
|
ContainerProject.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
ContainerProject.Builder |
setExternalId(java.lang.String externalId)
External identifier of the container project.
|
ContainerProject.Builder |
setLastSyncTime(java.lang.Long lastSyncTime)
Timestamp of last modification format: int64
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ContainerProject.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
ContainerProject.Builder |
setNetworkErrors(java.util.List<NetworkError> networkErrors)
List of network errors related to container project.
|
ContainerProject.Builder |
setNetworkStatus(java.lang.String networkStatus)
Possible values are:
ContainerProject.NETWORK_STATUS_HEALTHY ContainerProject.NETWORK_STATUS_UNHEALTHY
Network status of container project. |
ContainerProject.Builder |
setOriginProperties(java.util.List<KeyValuePair> originProperties)
Array of additional specific properties of container project in key-value
format.
|
ContainerProject.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
ContainerProject.Builder |
setSchema(java.lang.String schema)
Schema for this resource
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
ContainerProject.Builder |
setScope(java.util.List<DiscoveredResourceScope> scope)
Specifies list of scope of discovered resource.
|
ContainerProject.Builder |
setSelf(SelfResourceLink self) |
ContainerProject.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
public Builder()
ContainerProject
.public ContainerProject.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public ContainerProject.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public ContainerProject.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public ContainerProject.Builder setLastSyncTime(java.lang.Long lastSyncTime)
lastSyncTime
- New value for the property.public ContainerProject.Builder setDescription(java.lang.String description)
description
- New value for the property.public ContainerProject.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public ContainerProject.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public ContainerProject.Builder setScope(java.util.List<DiscoveredResourceScope> scope)
scope
- New value for the property.public ContainerProject.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public ContainerProject.Builder setContainerClusterId(java.lang.String containerClusterId)
containerClusterId
- New value for the property.public ContainerProject.Builder setExternalId(java.lang.String externalId)
externalId
- New value for the property.public ContainerProject.Builder setNetworkErrors(java.util.List<NetworkError> networkErrors)
networkErrors
- New value for the property.public ContainerProject.Builder setNetworkStatus(java.lang.String networkStatus)
networkStatus
- New value for the property.public ContainerProject.Builder setOriginProperties(java.util.List<KeyValuePair> originProperties)
originProperties
- New value for the property.public ContainerProject build()