public static final class PolicyServiceInstance.Builder
extends java.lang.Object
PolicyServiceInstance
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
PolicyServiceInstance . |
Modifier and Type | Method and Description |
---|---|
PolicyServiceInstance |
build() |
PolicyServiceInstance.Builder |
setAttributes(java.util.List<Attribute> attributes)
List of attributes specific to a partner for which the service is created.
|
PolicyServiceInstance.Builder |
setChildren(java.util.List<com.vmware.vapi.bindings.Structure> children)
Subtree for this type within policy tree containing nested elements.
|
PolicyServiceInstance.Builder |
setComputeId(java.lang.String computeId)
Id of the compute(ResourcePool) to which this service needs to be deployed.
|
PolicyServiceInstance.Builder |
setContextId(java.lang.String contextId)
UUID of VCenter/Compute Manager as seen on NSX Manager, to which this service
needs to be deployed.
|
PolicyServiceInstance.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.
|
PolicyServiceInstance.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.
|
PolicyServiceInstance.Builder |
setDeploymentMode(java.lang.String deploymentMode)
Possible values are:
PolicyServiceInstance.DEPLOYMENT_MODE_STAND_ALONE
PolicyServiceInstance.DEPLOYMENT_MODE_ACTIVE_STANDBY
Deployment mode specifies how the partner appliance will be deployed i.e. |
PolicyServiceInstance.Builder |
setDeploymentSpecName(java.lang.String deploymentSpecName)
Form factor for the deployment of partner service.
|
PolicyServiceInstance.Builder |
setDeploymentTemplateName(java.lang.String deploymentTemplateName)
Template for the deployment of partnet service.
|
PolicyServiceInstance.Builder |
setDescription(java.lang.String description)
Description of this resource
|
PolicyServiceInstance.Builder |
setDisplayName(java.lang.String displayName)
Defaults to ID if not set
|
PolicyServiceInstance.Builder |
setFailurePolicy(java.lang.String failurePolicy)
Possible values are:
PolicyServiceInstance.FAILURE_POLICY_ALLOW
PolicyServiceInstance.FAILURE_POLICY_BLOCK
Failure policy for the Service VM. |
PolicyServiceInstance.Builder |
setId(java.lang.String id)
Unique identifier of this resource
|
PolicyServiceInstance.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.
|
PolicyServiceInstance.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.
|
PolicyServiceInstance.Builder |
setLinks(java.util.List<ResourceLink> links)
The server will populate this field when returing the resource.
|
PolicyServiceInstance.Builder |
setMarkedForDelete(java.lang.Boolean markedForDelete)
Intent objects are not directly deleted from the system when a delete is invoked
on them.
|
PolicyServiceInstance.Builder |
setOriginSiteId(java.lang.String originSiteId)
This is a UUID generated by the system for knowing which site owns an object.
|
PolicyServiceInstance.Builder |
setOverridden(java.lang.Boolean overridden)
Global intent objects cannot be modified by the user.
|
PolicyServiceInstance.Builder |
setOwnerId(java.lang.String ownerId)
This is a UUID generated by the system for knowing who owns this object.
|
PolicyServiceInstance.Builder |
setParentPath(java.lang.String parentPath)
Path of its parent
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
PolicyServiceInstance.Builder |
setPartnerServiceName(java.lang.String partnerServiceName)
Unique name of Partner Service in the Marketplace
|
PolicyServiceInstance.Builder |
setPath(java.lang.String path)
Absolute path of this object
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
PolicyServiceInstance.Builder |
setPrimaryGatewayAddress(java.lang.String primaryGatewayAddress)
Gateway address for primary management console.
|
PolicyServiceInstance.Builder |
setPrimaryInterfaceMgmtIp(java.lang.String primaryInterfaceMgmtIp)
Management IP Address of primary interface of the Service format:
address-or-block-or-range
|
PolicyServiceInstance.Builder |
setPrimaryInterfaceNetwork(java.lang.String primaryInterfaceNetwork)
Path of the segment to which primary interface of the Service VM needs to be
connected
|
PolicyServiceInstance.Builder |
setPrimaryPortgroupId(java.lang.String primaryPortgroupId)
Id of the standard or ditsributed port group for primary management console.
|
PolicyServiceInstance.Builder |
setPrimarySubnetMask(java.lang.String primarySubnetMask)
Subnet for primary management console IP.
|
PolicyServiceInstance.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.
|
PolicyServiceInstance.Builder |
setRealizationId(java.lang.String realizationId)
This is a UUID generated by the system for realizing the entity object.
|
PolicyServiceInstance.Builder |
setRelativePath(java.lang.String relativePath)
Path relative from its parent
This property may be present in responses from the server, but if it is present
in a request to server it will be ignored.
|
PolicyServiceInstance.Builder |
setRemotePath(java.lang.String remotePath)
This is the path of the object on the local managers when queried on the NSX+
service, and path of the object on NSX+ service when queried from the local
managers.
|
PolicyServiceInstance.Builder |
setResourceType(java.lang.String resourceType)
The type of this resource.
|
PolicyServiceInstance.Builder |
setRevision(java.lang.Long revision)
The _revision property describes the current revision of the resource.
|
PolicyServiceInstance.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.
|
PolicyServiceInstance.Builder |
setSecondaryGatewayAddress(java.lang.String secondaryGatewayAddress)
Gateway address for secondary management console.
|
PolicyServiceInstance.Builder |
setSecondaryInterfaceMgmtIp(java.lang.String secondaryInterfaceMgmtIp)
Management IP Address of secondary interface of the Service format:
address-or-block-or-range
|
PolicyServiceInstance.Builder |
setSecondaryInterfaceNetwork(java.lang.String secondaryInterfaceNetwork)
Path of segment to which secondary interface of the Service VM needs to be
connected
|
PolicyServiceInstance.Builder |
setSecondaryPortgroupId(java.lang.String secondaryPortgroupId)
Id of the standard or ditsributed port group for secondary management console.
|
PolicyServiceInstance.Builder |
setSecondarySubnetMask(java.lang.String secondarySubnetMask)
Subnet for secondary management console IP.
|
PolicyServiceInstance.Builder |
setSelf(SelfResourceLink self) |
PolicyServiceInstance.Builder |
setStorageId(java.lang.String storageId)
Id of the storage(Datastore).
|
PolicyServiceInstance.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.
|
PolicyServiceInstance.Builder |
setTags(java.util.List<Tag> tags)
Opaque identifiers meaningful to the API user
|
PolicyServiceInstance.Builder |
setTransportType(java.lang.String transportType)
Possible values are:
PolicyServiceInstance.TRANSPORT_TYPE_L2_BRIDGE
PolicyServiceInstance.TRANSPORT_TYPE_L3_ROUTED
Transport to be used while deploying Service-VM. |
PolicyServiceInstance.Builder |
setUniqueId(java.lang.String uniqueId)
This is a UUID generated by the GM/LM to uniquely identify entities in a
federated environment.
|
public Builder()
PolicyServiceInstance
.public PolicyServiceInstance.Builder setLinks(java.util.List<ResourceLink> links)
links
- New value for the property.public PolicyServiceInstance.Builder setSchema(java.lang.String schema)
schema
- New value for the property.public PolicyServiceInstance.Builder setSelf(SelfResourceLink self)
self
- New value for the property.public PolicyServiceInstance.Builder setRevision(java.lang.Long revision)
revision
- New value for the property.public PolicyServiceInstance.Builder setCreateTime(java.lang.Long createTime)
createTime
- New value for the property.public PolicyServiceInstance.Builder setCreateUser(java.lang.String createUser)
createUser
- New value for the property.public PolicyServiceInstance.Builder setLastModifiedTime(java.lang.Long lastModifiedTime)
lastModifiedTime
- New value for the property.public PolicyServiceInstance.Builder setLastModifiedUser(java.lang.String lastModifiedUser)
lastModifiedUser
- New value for the property.public PolicyServiceInstance.Builder setProtection(java.lang.String protection)
protection
- New value for the property.public PolicyServiceInstance.Builder setSystemOwned(java.lang.Boolean systemOwned)
systemOwned
- New value for the property.public PolicyServiceInstance.Builder setDescription(java.lang.String description)
description
- New value for the property.public PolicyServiceInstance.Builder setDisplayName(java.lang.String displayName)
displayName
- New value for the property.public PolicyServiceInstance.Builder setId(java.lang.String id)
id
- New value for the property.public PolicyServiceInstance.Builder setResourceType(java.lang.String resourceType)
resourceType
- New value for the property.public PolicyServiceInstance.Builder setTags(java.util.List<Tag> tags)
tags
- New value for the property.public PolicyServiceInstance.Builder setOriginSiteId(java.lang.String originSiteId)
originSiteId
- New value for the property.public PolicyServiceInstance.Builder setOwnerId(java.lang.String ownerId)
ownerId
- New value for the property.public PolicyServiceInstance.Builder setParentPath(java.lang.String parentPath)
parentPath
- New value for the property.public PolicyServiceInstance.Builder setPath(java.lang.String path)
path
- New value for the property.public PolicyServiceInstance.Builder setRealizationId(java.lang.String realizationId)
realizationId
- New value for the property.public PolicyServiceInstance.Builder setRelativePath(java.lang.String relativePath)
relativePath
- New value for the property.public PolicyServiceInstance.Builder setRemotePath(java.lang.String remotePath)
remotePath
- New value for the property.public PolicyServiceInstance.Builder setUniqueId(java.lang.String uniqueId)
uniqueId
- New value for the property.public PolicyServiceInstance.Builder setChildren(java.util.List<com.vmware.vapi.bindings.Structure> children)
children
- New value for the property.
When clients pass a value of this class as a parameter, the property must
contain all the properties defined in ChildPolicyConfigResource
. When methods return a
value of this class as a return value, the property will contain all the
properties defined in ChildPolicyConfigResource
.public PolicyServiceInstance.Builder setMarkedForDelete(java.lang.Boolean markedForDelete)
markedForDelete
- New value for the property.public PolicyServiceInstance.Builder setOverridden(java.lang.Boolean overridden)
overridden
- New value for the property.public PolicyServiceInstance.Builder setDeploymentMode(java.lang.String deploymentMode)
deploymentMode
- New value for the property.public PolicyServiceInstance.Builder setPartnerServiceName(java.lang.String partnerServiceName)
partnerServiceName
- New value for the property.public PolicyServiceInstance.Builder setTransportType(java.lang.String transportType)
transportType
- New value for the property.public PolicyServiceInstance.Builder setAttributes(java.util.List<Attribute> attributes)
attributes
- New value for the property.public PolicyServiceInstance.Builder setComputeId(java.lang.String computeId)
computeId
- New value for the property.public PolicyServiceInstance.Builder setContextId(java.lang.String contextId)
contextId
- New value for the property.public PolicyServiceInstance.Builder setDeploymentSpecName(java.lang.String deploymentSpecName)
deploymentSpecName
- New value for the property.public PolicyServiceInstance.Builder setDeploymentTemplateName(java.lang.String deploymentTemplateName)
deploymentTemplateName
- New value for the property.public PolicyServiceInstance.Builder setFailurePolicy(java.lang.String failurePolicy)
failurePolicy
- New value for the property.public PolicyServiceInstance.Builder setPrimaryGatewayAddress(java.lang.String primaryGatewayAddress)
primaryGatewayAddress
- New value for the property.public PolicyServiceInstance.Builder setPrimaryInterfaceMgmtIp(java.lang.String primaryInterfaceMgmtIp)
primaryInterfaceMgmtIp
- New value for the property.public PolicyServiceInstance.Builder setPrimaryInterfaceNetwork(java.lang.String primaryInterfaceNetwork)
primaryInterfaceNetwork
- New value for the property.public PolicyServiceInstance.Builder setPrimaryPortgroupId(java.lang.String primaryPortgroupId)
primaryPortgroupId
- New value for the property.public PolicyServiceInstance.Builder setPrimarySubnetMask(java.lang.String primarySubnetMask)
primarySubnetMask
- New value for the property.public PolicyServiceInstance.Builder setSecondaryGatewayAddress(java.lang.String secondaryGatewayAddress)
secondaryGatewayAddress
- New value for the property.public PolicyServiceInstance.Builder setSecondaryInterfaceMgmtIp(java.lang.String secondaryInterfaceMgmtIp)
secondaryInterfaceMgmtIp
- New value for the property.public PolicyServiceInstance.Builder setSecondaryInterfaceNetwork(java.lang.String secondaryInterfaceNetwork)
secondaryInterfaceNetwork
- New value for the property.public PolicyServiceInstance.Builder setSecondaryPortgroupId(java.lang.String secondaryPortgroupId)
secondaryPortgroupId
- New value for the property.public PolicyServiceInstance.Builder setSecondarySubnetMask(java.lang.String secondarySubnetMask)
secondarySubnetMask
- New value for the property.public PolicyServiceInstance.Builder setStorageId(java.lang.String storageId)
storageId
- New value for the property.public PolicyServiceInstance build()