public static final class CloudNativeServiceInstance.Builder
extends java.lang.Object
CloudNativeServiceInstance.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
CloudNativeServiceInstance. |
| Modifier and Type | Method and Description |
|---|---|
CloudNativeServiceInstance |
build() |
CloudNativeServiceInstance.Builder |
setDescription(java.lang.String description)
Description of this resource
|
CloudNativeServiceInstance.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
CloudNativeServiceInstance.Builder |
setExternalId(java.lang.String externalId)
Id of service instance fetched from public cloud.
|
CloudNativeServiceInstance.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.
|
CloudNativeServiceInstance.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
CloudNativeServiceInstance.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
CloudNativeServiceInstance.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.
|
CloudNativeServiceInstance.Builder |
setScope(java.util.List<DiscoveredResourceScope> scope)
Specifies list of scope of discovered resource.
|
CloudNativeServiceInstance.Builder |
setSelf(SelfResourceLink self) |
CloudNativeServiceInstance.Builder |
setServiceType(java.lang.String serviceType)
Type of cloud native service.
|
CloudNativeServiceInstance.Builder |
setSource(ResourceReference source) |
CloudNativeServiceInstance.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
public Builder()
CloudNativeServiceInstance.public CloudNativeServiceInstance.Builder setLinks(java.util.List<ResourceLink> links)
links - New value for the property.public CloudNativeServiceInstance.Builder setSchema(java.lang.String schema)
schema - New value for the property.public CloudNativeServiceInstance.Builder setSelf(SelfResourceLink self)
self - New value for the property.public CloudNativeServiceInstance.Builder setLastSyncTime(java.lang.Long lastSyncTime)
lastSyncTime - New value for the property.public CloudNativeServiceInstance.Builder setDescription(java.lang.String description)
description - New value for the property.public CloudNativeServiceInstance.Builder setDisplayName(java.lang.String displayName)
displayName - New value for the property.public CloudNativeServiceInstance.Builder setResourceType(java.lang.String resourceType)
resourceType - New value for the property.public CloudNativeServiceInstance.Builder setScope(java.util.List<DiscoveredResourceScope> scope)
scope - New value for the property.public CloudNativeServiceInstance.Builder setTags(java.util.List<Tag> tags)
tags - New value for the property.public CloudNativeServiceInstance.Builder setExternalId(java.lang.String externalId)
externalId - New value for the property.public CloudNativeServiceInstance.Builder setServiceType(java.lang.String serviceType)
serviceType - New value for the property.public CloudNativeServiceInstance.Builder setSource(ResourceReference source)
source - New value for the property.public CloudNativeServiceInstance build()