Class Zone
java.lang.Object
com.vmware.vra.jenkinsplugin.model.iaas.Zone
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2020-09-09T18:26:35.661905-04:00[America/New_York]") public class Zone extends Object
Description of a compute placement zone. This can be used to specify a subset of compute
resources within a region where machines can be placed. <br>**HATEOAS**
links:<br>**region** - Region - Region for the zone.<br>**computes** - Computes -
Computes for the zone. <br>**cloud-account** - CloudAccount - The cloud account that the
zone belongs to.<br>**self** - Zone - Self link to this zone
-
Constructor Summary
Constructors Constructor Description Zone()
-
Method Summary
Modifier and Type Method Description Zone
_links(Map<String,Href> _links)
Zone
addTagsItem(Tag tagsItem)
Zone
addTagsToMatchItem(Tag tagsToMatchItem)
Zone
cloudAccountId(String cloudAccountId)
Zone
createdAt(String createdAt)
Zone
customProperties(Map<String,String> customProperties)
Zone
description(String description)
boolean
equals(Object o)
Zone
externalRegionId(String externalRegionId)
Zone
folder(String folder)
String
getCloudAccountId()
Cloud account this zone belongs to.String
getCreatedAt()
Date when the entity was created.Map<String,String>
getCustomProperties()
A list of key value pair of properties that will be usedString
getDescription()
A human-friendly description.String
getExternalRegionId()
The id of the region for which this zone is definedString
getFolder()
The folder relative path to the datacenter where resources are deployed to.String
getId()
The id of this resource instanceMap<String,Href>
getLinks()
HATEOAS of the entityString
getName()
A human-friendly name used as an identifier in APIs that support this option.String
getOrganizationId()
This field is deprecated.String
getOrgId()
The id of the organization this entity belongs to.String
getOwner()
Email of the user that owns the entity.String
getPlacementPolicy()
The placement policy for the zone.List<Tag>
getTags()
A set of tag keys and optional values that were set on this placement.List<Tag>
getTagsToMatch()
A set of tag keys and optional values for compute resource filtering.String
getUpdatedAt()
Date when the entity was last updated.int
hashCode()
Zone
id(String id)
Zone
name(String name)
Zone
organizationId(String organizationId)
Zone
orgId(String orgId)
Zone
owner(String owner)
Zone
placementPolicy(String placementPolicy)
Zone
putCustomPropertiesItem(String key, String customPropertiesItem)
Zone
putLinksItem(String key, Href _linksItem)
void
setCloudAccountId(String cloudAccountId)
void
setCreatedAt(String createdAt)
void
setCustomProperties(Map<String,String> customProperties)
void
setDescription(String description)
void
setExternalRegionId(String externalRegionId)
void
setFolder(String folder)
void
setId(String id)
void
setLinks(Map<String,Href> _links)
void
setName(String name)
void
setOrganizationId(String organizationId)
void
setOrgId(String orgId)
void
setOwner(String owner)
void
setPlacementPolicy(String placementPolicy)
void
setTags(List<Tag> tags)
void
setTagsToMatch(List<Tag> tagsToMatch)
void
setUpdatedAt(String updatedAt)
Zone
tags(List<Tag> tags)
Zone
tagsToMatch(List<Tag> tagsToMatch)
String
toString()
Zone
updatedAt(String updatedAt)
-
Constructor Details
-
Zone
public Zone()
-
-
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
-
externalRegionId
-
getExternalRegionId
The id of the region for which this zone is defined- Returns:
- externalRegionId
-
setExternalRegionId
-
cloudAccountId
-
getCloudAccountId
Cloud account this zone belongs to.- Returns:
- cloudAccountId
-
setCloudAccountId
-
description
-
getDescription
A human-friendly description.- Returns:
- description
-
setDescription
-
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 placement.- 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
-
customProperties
-
putCustomPropertiesItem
-
getCustomProperties
A list of key value pair of properties that will be used- Returns:
- customProperties
-
setCustomProperties
-
folder
-
getFolder
The folder relative path to the datacenter where resources are deployed to. (only applicable for vSphere cloud zones)- Returns:
- folder
-
setFolder
-
tagsToMatch
-
addTagsToMatchItem
-
getTagsToMatch
A set of tag keys and optional values for compute resource filtering.- Returns:
- tagsToMatch
-
setTagsToMatch
-
name
-
getName
A human-friendly name used as an identifier in APIs that support this option.- Returns:
- name
-
setName
-
placementPolicy
-
getPlacementPolicy
The placement policy for the zone.- Returns:
- placementPolicy
-
setPlacementPolicy
-
id
-
getId
The id of this resource instance- Returns:
- id
-
setId
-
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
-