Class SecurityGroup
java.lang.Object
com.vmware.vra.jenkinsplugin.model.iaas.SecurityGroup
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2020-09-09T18:26:35.661905-04:00[America/New_York]") public class SecurityGroup extends Object
State object representing a security group.<br>**HATEOAS**
links:<br>**cloud-accounts** - array[CloudAccount] - List of cloud accounts where this
security group exists.<br>**self** - SecurityGroup - Self link to this security group
-
Constructor Summary
Constructors Constructor Description SecurityGroup() -
Method Summary
Modifier and Type Method Description SecurityGroup_links(Map<String,Href> _links)SecurityGroupaddCloudAccountIdsItem(String cloudAccountIdsItem)SecurityGroupaddRulesItem(Rule rulesItem)SecurityGroupaddTagsItem(Tag tagsItem)SecurityGroupcloudAccountIds(List<String> cloudAccountIds)SecurityGroupcreatedAt(String createdAt)SecurityGroupcustomProperties(Map<String,String> customProperties)SecurityGroupdeploymentId(String deploymentId)SecurityGroupdescription(String description)booleanequals(Object o)SecurityGroupexternalId(String externalId)SecurityGroupexternalRegionId(String externalRegionId)SecurityGroupexternalZoneId(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.StringgetOrganizationId()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<Rule>getRules()List of security rules.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()SecurityGroupid(String id)SecurityGroupname(String name)SecurityGrouporganizationId(String organizationId)SecurityGrouporgId(String orgId)SecurityGroupowner(String owner)SecurityGroupprojectId(String projectId)SecurityGroupputCustomPropertiesItem(String key, String customPropertiesItem)SecurityGroupputLinksItem(String key, Href _linksItem)SecurityGrouprules(List<Rule> rules)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)voidsetOrganizationId(String organizationId)voidsetOrgId(String orgId)voidsetOwner(String owner)voidsetProjectId(String projectId)voidsetRules(List<Rule> rules)voidsetTags(List<Tag> tags)voidsetUpdatedAt(String updatedAt)SecurityGrouptags(List<Tag> tags)StringtoString()SecurityGroupupdatedAt(String updatedAt)
-
Constructor Details
-
SecurityGroup
public SecurityGroup()
-
-
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
-
rules
-
addRulesItem
-
getRules
List of security rules.- Returns:
- rules
-
setRules
-
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
-
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
-