Class ComputeGateway
java.lang.Object
com.vmware.vra.jenkinsplugin.model.iaas.ComputeGateway
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2020-09-09T18:26:35.661905-04:00[America/New_York]") public class ComputeGateway extends Object
The compute gateway object is a logical entity attached to a network. It is used to configure NAT
rules on the Edge Gateway or Tier-1 logical router in NSX to enable port
forwarding.<br>**HATEOAS** links:<br>**self** - Compute Gateway - Self link to this
compute gateway
-
Constructor Summary
Constructors Constructor Description ComputeGateway() -
Method Summary
Modifier and Type Method Description ComputeGateway_links(Map<String,Href> _links)ComputeGatewayaddCloudAccountIdsItem(String cloudAccountIdsItem)ComputeGatewayaddNatRulesItem(NatRule natRulesItem)ComputeGatewayaddNetworksItem(String networksItem)ComputeGatewayaddTagsItem(Tag tagsItem)ComputeGatewaycloudAccountIds(List<String> cloudAccountIds)ComputeGatewaycreatedAt(String createdAt)ComputeGatewaycustomProperties(Map<String,String> customProperties)ComputeGatewaydeploymentId(String deploymentId)ComputeGatewaydescription(String description)booleanequals(Object o)ComputeGatewayexternalId(String externalId)ComputeGatewayexternalRegionId(String externalRegionId)ComputeGatewayexternalZoneId(String externalZoneId)List<String>getCloudAccountIds()Set of ids of the cloud accounts this resource belongs to.StringgetCreatedAt()Date when the entity was created.Map<String,String>getCustomProperties()Additional properties that may be used to extend the base resource.StringgetDeploymentId()Deployment id that is associated with this resource.StringgetDescription()A human-friendly description.StringgetExternalId()External entity Id on the provider side.StringgetExternalRegionId()The external regionId of the resource.StringgetExternalZoneId()The external zoneId of the resource.StringgetId()The id of this resource instanceMap<String,Href>getLinks()HATEOAS of the entityStringgetName()A human-friendly name used as an identifier in APIs that support this option.List<NatRule>getNatRules()A list of NAT rule(s) to be created on the NSX networkList<String>getNetworks()A list of id(s) of the network(s) to which the compute gateway is attachedStringgetOrganizationId()This field is deprecated.StringgetOrgId()The id of the organization this entity belongs to.StringgetOwner()Email of the user that owns the entity.StringgetProjectId()The id of the project this resource belongs to.List<Tag>getTags()A set of tag keys and optional values that were set on this resource.StringgetUpdatedAt()Date when the entity was last updated.inthashCode()ComputeGatewayid(String id)ComputeGatewayname(String name)ComputeGatewaynatRules(List<NatRule> natRules)ComputeGatewaynetworks(List<String> networks)ComputeGatewayorganizationId(String organizationId)ComputeGatewayorgId(String orgId)ComputeGatewayowner(String owner)ComputeGatewayprojectId(String projectId)ComputeGatewayputCustomPropertiesItem(String key, String customPropertiesItem)ComputeGatewayputLinksItem(String key, Href _linksItem)voidsetCloudAccountIds(List<String> cloudAccountIds)voidsetCreatedAt(String createdAt)voidsetCustomProperties(Map<String,String> customProperties)voidsetDeploymentId(String deploymentId)voidsetDescription(String description)voidsetExternalId(String externalId)voidsetExternalRegionId(String externalRegionId)voidsetExternalZoneId(String externalZoneId)voidsetId(String id)voidsetLinks(Map<String,Href> _links)voidsetName(String name)voidsetNatRules(List<NatRule> natRules)voidsetNetworks(List<String> networks)voidsetOrganizationId(String organizationId)voidsetOrgId(String orgId)voidsetOwner(String owner)voidsetProjectId(String projectId)voidsetTags(List<Tag> tags)voidsetUpdatedAt(String updatedAt)ComputeGatewaytags(List<Tag> tags)StringtoString()ComputeGatewayupdatedAt(String updatedAt)
-
Constructor Details
-
ComputeGateway
public ComputeGateway()
-
-
Method Details
-
owner
-
getOwner
Email of the user that owns the entity.- Returns:
- owner
-
setOwner
-
_links
-
putLinksItem
-
getLinks
HATEOAS of the entity- Returns:
- _links
-
setLinks
-
externalZoneId
-
getExternalZoneId
The external zoneId of the resource.- Returns:
- externalZoneId
-
setExternalZoneId
-
externalRegionId
-
getExternalRegionId
The external regionId of the resource.- Returns:
- externalRegionId
-
setExternalRegionId
-
description
-
getDescription
A human-friendly description.- Returns:
- description
-
setDescription
-
externalId
-
getExternalId
External entity Id on the provider side.- Returns:
- externalId
-
setExternalId
-
networks
-
addNetworksItem
-
getNetworks
A list of id(s) of the network(s) to which the compute gateway is attached- Returns:
- networks
-
setNetworks
-
orgId
-
getOrgId
The id of the organization this entity belongs to.- Returns:
- orgId
-
setOrgId
-
tags
-
addTagsItem
-
getTags
A set of tag keys and optional values that were set on this resource.- Returns:
- tags
-
setTags
-
organizationId
-
getOrganizationId
This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.- Returns:
- organizationId
-
setOrganizationId
-
createdAt
-
getCreatedAt
Date when the entity was created. The date is in ISO 8601 and UTC.- Returns:
- createdAt
-
setCreatedAt
-
cloudAccountIds
-
addCloudAccountIdsItem
-
getCloudAccountIds
Set of ids of the cloud accounts this resource belongs to.- Returns:
- cloudAccountIds
-
setCloudAccountIds
-
customProperties
-
putCustomPropertiesItem
-
getCustomProperties
Additional properties that may be used to extend the base resource.- Returns:
- customProperties
-
setCustomProperties
-
deploymentId
-
getDeploymentId
Deployment id that is associated with this resource.- Returns:
- deploymentId
-
setDeploymentId
-
name
-
getName
A human-friendly name used as an identifier in APIs that support this option.- Returns:
- name
-
setName
-
id
-
getId
The id of this resource instance- Returns:
- id
-
setId
-
natRules
-
addNatRulesItem
-
getNatRules
A list of NAT rule(s) to be created on the NSX network- Returns:
- natRules
-
setNatRules
-
projectId
-
getProjectId
The id of the project this resource belongs to.- Returns:
- projectId
-
setProjectId
-
updatedAt
-
getUpdatedAt
Date when the entity was last updated. The date is ISO 8601 and UTC.- Returns:
- updatedAt
-
setUpdatedAt
-
equals
-
hashCode
public int hashCode() -
toString
-