public static final class EdgeCluster.Builder
extends java.lang.Object
EdgeCluster
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
EdgeCluster . |
Modifier and Type | Method and Description |
---|---|
EdgeCluster |
build() |
EdgeCluster.Builder |
setAllocationRules(java.util.List<AllocationRule> allocationRules)
Set of allocation rules and respected action for auto placement of logical
router, DHCP and MDProxy on edge cluster members.
|
EdgeCluster.Builder |
setClusterProfileBindings(java.util.List<ClusterProfileTypeIdEntry> clusterProfileBindings)
Edge cluster profile bindings
|
EdgeCluster.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.
|
EdgeCluster.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.
|
EdgeCluster.Builder |
setDeploymentType(java.lang.String deploymentType)
Possible values are:
EdgeCluster.DEPLOYMENT_TYPE_VIRTUAL_MACHINE
EdgeCluster.DEPLOYMENT_TYPE_PHYSICAL_MACHINE
EdgeCluster.DEPLOYMENT_TYPE_UNKNOWN
This field is a readonly field which shows the deployment_type of members. |
EdgeCluster.Builder |
setDescription(java.lang.String description)
Description of this resource
|
EdgeCluster.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
EdgeCluster.Builder |
setEnableInterSiteForwarding(java.lang.Boolean enableInterSiteForwarding)
Flag should be only use in federation for inter site l2 and l3 forwarding.
|
EdgeCluster.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
EdgeCluster.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.
|
EdgeCluster.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.
|
EdgeCluster.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
EdgeCluster.Builder |
setMemberNodeType(java.lang.String memberNodeType)
Possible values are:
EdgeCluster.MEMBER_NODE_TYPE_EDGE_NODE EdgeCluster.MEMBER_NODE_TYPE_PUBLIC_CLOUD_GATEWAY_NODE
EdgeCluster.MEMBER_NODE_TYPE_UNKNOWN
Edge cluster is homogenous collection of transport nodes. |
EdgeCluster.Builder |
setMembers(java.util.List<EdgeClusterMember> members)
EdgeCluster only supports homogeneous members.
|
EdgeCluster.Builder |
setNodeRtepIps(java.util.List<NodeRtepIpsConfig> nodeRtepIps)
List of remote tunnel endpoint ipaddress configured on edge cluster for each
transport node.
|
EdgeCluster.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.
|
EdgeCluster.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
EdgeCluster.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
EdgeCluster.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.
|
EdgeCluster.Builder |
setSelf(SelfResourceLink self) |
EdgeCluster.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.
|
EdgeCluster.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
public Builder()
EdgeCluster
.public EdgeCluster.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public EdgeCluster.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public EdgeCluster.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public EdgeCluster.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public EdgeCluster.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public EdgeCluster.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public EdgeCluster.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public EdgeCluster.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public EdgeCluster.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public EdgeCluster.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public EdgeCluster.Builder setDescription(java.lang.String description)
description
- New value for the property.public EdgeCluster.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public EdgeCluster.Builder setId(java.lang.String id)
id
- New value for the property.public EdgeCluster.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public EdgeCluster.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public EdgeCluster.Builder setAllocationRules(java.util.List<AllocationRule> allocationRules)
allocationRules
- New value for the property.public EdgeCluster.Builder setClusterProfileBindings(java.util.List<ClusterProfileTypeIdEntry> clusterProfileBindings)
clusterProfileBindings
- New value for the property.public EdgeCluster.Builder setDeploymentType(java.lang.String deploymentType)
deploymentType
- New value for the property.public EdgeCluster.Builder setEnableInterSiteForwarding(java.lang.Boolean enableInterSiteForwarding)
enableInterSiteForwarding
- New value for the property.public EdgeCluster.Builder setMemberNodeType(java.lang.String memberNodeType)
memberNodeType
- New value for the property.public EdgeCluster.Builder setMembers(java.util.List<EdgeClusterMember> members)
members
- New value for the property.public EdgeCluster.Builder setNodeRtepIps(java.util.List<NodeRtepIpsConfig> nodeRtepIps)
nodeRtepIps
- New value for the property.public EdgeCluster build()