public static final class AdvertisementConfig.Builder
extends java.lang.Object
AdvertisementConfig.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
AdvertisementConfig. |
| Modifier and Type | Method and Description |
|---|---|
AdvertisementConfig |
build() |
AdvertisementConfig.Builder |
setAdvertiseDnsForwarder(java.lang.Boolean advertiseDnsForwarder)
Flag to advertise all routes of dns forwarder listener ips and source ips
|
AdvertisementConfig.Builder |
setAdvertiseIpsecLocalIp(java.lang.Boolean advertiseIpsecLocalIp)
Flag to advertise all IPSec VPN local endpoint ips to linked TIER0 logical
router
|
AdvertisementConfig.Builder |
setAdvertiseLbSnatIp(java.lang.Boolean advertiseLbSnatIp)
Flag to advertise all lb SNAT ips
|
AdvertisementConfig.Builder |
setAdvertiseLbVip(java.lang.Boolean advertiseLbVip)
Flag to advertise lb vip ips
|
AdvertisementConfig.Builder |
setAdvertiseNatRoutes(java.lang.Boolean advertiseNatRoutes)
Flag to advertise all routes of nat
|
AdvertisementConfig.Builder |
setAdvertiseNsxConnectedRoutes(java.lang.Boolean advertiseNsxConnectedRoutes)
Flag to advertise all connected routes
|
AdvertisementConfig.Builder |
setAdvertiseStaticRoutes(java.lang.Boolean advertiseStaticRoutes)
Flag to advertise all static routes
|
AdvertisementConfig.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.
|
AdvertisementConfig.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.
|
AdvertisementConfig.Builder |
setDescription(java.lang.String description)
Description of this resource
|
AdvertisementConfig.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
AdvertisementConfig.Builder |
setEnabled(java.lang.Boolean enabled)
Flag to enable this configuration
|
AdvertisementConfig.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
AdvertisementConfig.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.
|
AdvertisementConfig.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.
|
AdvertisementConfig.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
AdvertisementConfig.Builder |
setLogicalRouterId(java.lang.String logicalRouterId)
TIER1 logical router id on which to enable this configuration
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
AdvertisementConfig.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.
|
AdvertisementConfig.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
AdvertisementConfig.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
AdvertisementConfig.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.
|
AdvertisementConfig.Builder |
setSelf(SelfResourceLink self) |
AdvertisementConfig.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.
|
AdvertisementConfig.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
public Builder()
AdvertisementConfig.public AdvertisementConfig.Builder setLinks(java.util.List<ResourceLink> links)
links - New value for the property.public AdvertisementConfig.Builder setSchema(java.lang.String schema)
schema - New value for the property.public AdvertisementConfig.Builder setSelf(SelfResourceLink self)
self - New value for the property.public AdvertisementConfig.Builder setRevision(java.lang.Long revision)
revision - New value for the property.public AdvertisementConfig.Builder setCreateTime(java.lang.Long createTime)
createTime - New value for the property.public AdvertisementConfig.Builder setCreateUser(java.lang.String createUser)
createUser - New value for the property.public AdvertisementConfig.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime - New value for the property.public AdvertisementConfig.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser - New value for the property.public AdvertisementConfig.Builder setProtection(java.lang.String protection)
protection - New value for the property.public AdvertisementConfig.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned - New value for the property.public AdvertisementConfig.Builder setDescription(java.lang.String description)
description - New value for the property.public AdvertisementConfig.Builder setDisplayName(java.lang.String displayName)
displayName - New value for the property.public AdvertisementConfig.Builder setId(java.lang.String id)
id - New value for the property.public AdvertisementConfig.Builder setResourceType(java.lang.String resourceType)
resourceType - New value for the property.public AdvertisementConfig.Builder setTags(java.util.List<Tag> tags)
tags - New value for the property.public AdvertisementConfig.Builder setAdvertiseDnsForwarder(java.lang.Boolean advertiseDnsForwarder)
advertiseDnsForwarder - New value for the property.public AdvertisementConfig.Builder setAdvertiseIpsecLocalIp(java.lang.Boolean advertiseIpsecLocalIp)
advertiseIpsecLocalIp - New value for the property.public AdvertisementConfig.Builder setAdvertiseLbSnatIp(java.lang.Boolean advertiseLbSnatIp)
advertiseLbSnatIp - New value for the property.public AdvertisementConfig.Builder setAdvertiseLbVip(java.lang.Boolean advertiseLbVip)
advertiseLbVip - New value for the property.public AdvertisementConfig.Builder setAdvertiseNatRoutes(java.lang.Boolean advertiseNatRoutes)
advertiseNatRoutes - New value for the property.public AdvertisementConfig.Builder setAdvertiseNsxConnectedRoutes(java.lang.Boolean advertiseNsxConnectedRoutes)
advertiseNsxConnectedRoutes - New value for the property.public AdvertisementConfig.Builder setAdvertiseStaticRoutes(java.lang.Boolean advertiseStaticRoutes)
advertiseStaticRoutes - New value for the property.public AdvertisementConfig.Builder setEnabled(java.lang.Boolean enabled)
enabled - New value for the property.public AdvertisementConfig.Builder setLogicalRouterId(java.lang.String logicalRouterId)
logicalRouterId - New value for the property.public AdvertisementConfig build()