public static final class MetadataProxy.Builder
extends java.lang.Object
MetadataProxy
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
MetadataProxy . |
Modifier and Type | Method and Description |
---|---|
MetadataProxy |
build() |
MetadataProxy.Builder |
setAttachedLogicalPortId(java.lang.String attachedLogicalPortId)
id of attached logical port
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
MetadataProxy.Builder |
setCreateTime(java.lang.Long createTime)
Timestamp of resource creation 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.
|
MetadataProxy.Builder |
setCreateUser(java.lang.String createUser)
ID of the user who created 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.
|
MetadataProxy.Builder |
setCryptoProtocols(java.util.List<java.lang.String> cryptoProtocols)
Possible values are:
MetadataProxy.CRYPTO_PROTOCOLS_V1 MetadataProxy.CRYPTO_PROTOCOLS_V1_1 MetadataProxy.CRYPTO_PROTOCOLS_V1_2 The
cryptographic protocols listed here are supported by the metadata proxy. |
MetadataProxy.Builder |
setDescription(java.lang.String description)
Description of this resource
|
MetadataProxy.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
MetadataProxy.Builder |
setEdgeClusterId(java.lang.String edgeClusterId)
edge cluster uuid
|
MetadataProxy.Builder |
setEdgeClusterMemberIndexes(java.util.List<java.lang.Long> edgeClusterMemberIndexes)
If none is provided, the NSX will auto-select two edge-nodes from the given edge
cluster.
|
MetadataProxy.Builder |
setEnableStandbyRelocation(java.lang.Boolean enableStandbyRelocation)
Flag to enable the auto-relocation of standby Metadata Proxy in case of edge
node failure.
|
MetadataProxy.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
MetadataProxy.Builder |
setLastModifiedTime(java.lang.Long lastModifiedTime)
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.
|
MetadataProxy.Builder |
setLastModifiedUser(java.lang.String lastModifiedUser)
ID of the user who last modified 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.
|
MetadataProxy.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
MetadataProxy.Builder |
setMetadataServerCaIds(java.util.List<java.lang.String> metadataServerCaIds)
The CAs referenced here must be uploaded to the truststore using the API POST
/api/v1/trust-management/certificates?action=import.
|
MetadataProxy.Builder |
setMetadataServerUrl(java.lang.String metadataServerUrl)
The URL in format scheme://host:port/path.
|
MetadataProxy.Builder |
setProtection(java.lang.String protection)
Protection status is one of the following: PROTECTED - the client who retrieved
the entity is not allowed to modify it.
|
MetadataProxy.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
MetadataProxy.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
MetadataProxy.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.
|
MetadataProxy.Builder |
setSecret(java.lang.String secret)
secret to access metadata server
|
MetadataProxy.Builder |
setSelf(SelfResourceLink self) |
MetadataProxy.Builder |
setSystemOwned(java.lang.Boolean systemOwned)
Indicates system owned 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.
|
MetadataProxy.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
public Builder()
MetadataProxy
.public MetadataProxy.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public MetadataProxy.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public MetadataProxy.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public MetadataProxy.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public MetadataProxy.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public MetadataProxy.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public MetadataProxy.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public MetadataProxy.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public MetadataProxy.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public MetadataProxy.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public MetadataProxy.Builder setDescription(java.lang.String description)
description
- New value for the property.public MetadataProxy.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public MetadataProxy.Builder setId(java.lang.String id)
id
- New value for the property.public MetadataProxy.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public MetadataProxy.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public MetadataProxy.Builder setAttachedLogicalPortId(java.lang.String attachedLogicalPortId)
attachedLogicalPortId
- New value for the property.public MetadataProxy.Builder setCryptoProtocols(java.util.List<java.lang.String> cryptoProtocols)
cryptoProtocols
- New value for the property.public MetadataProxy.Builder setEdgeClusterId(java.lang.String edgeClusterId)
edgeClusterId
- New value for the property.public MetadataProxy.Builder setEdgeClusterMemberIndexes(java.util.List<java.lang.Long> edgeClusterMemberIndexes)
edgeClusterMemberIndexes
- New value for the property.public MetadataProxy.Builder setEnableStandbyRelocation(java.lang.Boolean enableStandbyRelocation)
enableStandbyRelocation
- New value for the property.public MetadataProxy.Builder setMetadataServerCaIds(java.util.List<java.lang.String> metadataServerCaIds)
metadataServerCaIds
- New value for the property.public MetadataProxy.Builder setMetadataServerUrl(java.lang.String metadataServerUrl)
metadataServerUrl
- New value for the property.public MetadataProxy.Builder setSecret(java.lang.String secret)
secret
- New value for the property.public MetadataProxy build()