public static final class TransportZone.Builder
extends java.lang.Object
TransportZone
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
TransportZone . |
Modifier and Type | Method and Description |
---|---|
TransportZone |
build() |
TransportZone.Builder |
setAuthorizedVlans(java.util.List<java.lang.String> authorizedVlans)
This field lists vlan ids allowed on logical network entities, eg.
|
TransportZone.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.
|
TransportZone.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.
|
TransportZone.Builder |
setDescription(java.lang.String description)
Description of this resource
|
TransportZone.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
TransportZone.Builder |
setForwardingMode(java.lang.String forwardingMode)
Possible values are:
TransportZone.FORWARDING_MODE_IPV4_ONLY TransportZone.FORWARDING_MODE_IPV6_ONLY TransportZone.FORWARDING_MODE_IPV4_AND_IPV6 The
forwarding mode of this transport zone. |
TransportZone.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
TransportZone.Builder |
setIsDefault(java.lang.Boolean isDefault)
Only one transport zone can be the default one for a given transport zone type.
|
TransportZone.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.
|
TransportZone.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.
|
TransportZone.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
TransportZone.Builder |
setNestedNsx(java.lang.Boolean nestedNsx)
This flag should be set to true in nested NSX environment.
|
TransportZone.Builder |
setOriginId(java.lang.String originId)
This field is populated only if the transport zone was created by NSX system to
support security on vSphere Distributed Switch (vDS).
|
TransportZone.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.
|
TransportZone.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
TransportZone.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
TransportZone.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.
|
TransportZone.Builder |
setSelf(SelfResourceLink self) |
TransportZone.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.
|
TransportZone.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
TransportZone.Builder |
setTransportType(java.lang.String transportType)
Possible values are:
TransportZone.TRANSPORT_TYPE_OVERLAY TransportZone.TRANSPORT_TYPE_VLAN The transport
type of this transport zone. |
TransportZone.Builder |
setTransportZoneProfileIds(java.util.List<TransportZoneProfileTypeIdEntry> transportZoneProfileIds)
Identifiers of the transport zone profiles associated with this TransportZone.
|
TransportZone.Builder |
setUplinkTeamingPolicyNames(java.util.List<java.lang.String> uplinkTeamingPolicyNames)
The names of switching uplink teaming policies that all transport nodes in this
transport zone must support.
|
public Builder()
TransportZone
.public TransportZone.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public TransportZone.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public TransportZone.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public TransportZone.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public TransportZone.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public TransportZone.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public TransportZone.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public TransportZone.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public TransportZone.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public TransportZone.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public TransportZone.Builder setDescription(java.lang.String description)
description
- New value for the property.public TransportZone.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public TransportZone.Builder setId(java.lang.String id)
id
- New value for the property.public TransportZone.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public TransportZone.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public TransportZone.Builder setAuthorizedVlans(java.util.List<java.lang.String> authorizedVlans)
authorizedVlans
- New value for the property.public TransportZone.Builder setForwardingMode(java.lang.String forwardingMode)
forwardingMode
- New value for the property.public TransportZone.Builder setIsDefault(java.lang.Boolean isDefault)
isDefault
- New value for the property.public TransportZone.Builder setNestedNsx(java.lang.Boolean nestedNsx)
nestedNsx
- New value for the property.public TransportZone.Builder setOriginId(java.lang.String originId)
originId
- New value for the property.public TransportZone.Builder setTransportType(java.lang.String transportType)
transportType
- New value for the property.public TransportZone.Builder setTransportZoneProfileIds(java.util.List<TransportZoneProfileTypeIdEntry> transportZoneProfileIds)
transportZoneProfileIds
- New value for the property.public TransportZone.Builder setUplinkTeamingPolicyNames(java.util.List<java.lang.String> uplinkTeamingPolicyNames)
uplinkTeamingPolicyNames
- New value for the property.public TransportZone build()