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)
SecurityGroup
addCloudAccountIdsItem(String cloudAccountIdsItem)
SecurityGroup
addRulesItem(Rule rulesItem)
SecurityGroup
addTagsItem(Tag tagsItem)
SecurityGroup
cloudAccountIds(List<String> cloudAccountIds)
SecurityGroup
createdAt(String createdAt)
SecurityGroup
customProperties(Map<String,String> customProperties)
SecurityGroup
deploymentId(String deploymentId)
SecurityGroup
description(String description)
boolean
equals(Object o)
SecurityGroup
externalId(String externalId)
SecurityGroup
externalRegionId(String externalRegionId)
SecurityGroup
externalZoneId(String externalZoneId)
List<String>
getCloudAccountIds()
Set of ids of the cloud accounts this resource belongs to.String
getCreatedAt()
Date when the entity was created.Map<String,String>
getCustomProperties()
Additional properties that may be used to extend the base resource.String
getDeploymentId()
Deployment id that is associated with this resource.String
getDescription()
A human-friendly description.String
getExternalId()
External entity Id on the provider side.String
getExternalRegionId()
The external regionId of the resource.String
getExternalZoneId()
The external zoneId of the resource.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
getProjectId()
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.String
getUpdatedAt()
Date when the entity was last updated.int
hashCode()
SecurityGroup
id(String id)
SecurityGroup
name(String name)
SecurityGroup
organizationId(String organizationId)
SecurityGroup
orgId(String orgId)
SecurityGroup
owner(String owner)
SecurityGroup
projectId(String projectId)
SecurityGroup
putCustomPropertiesItem(String key, String customPropertiesItem)
SecurityGroup
putLinksItem(String key, Href _linksItem)
SecurityGroup
rules(List<Rule> rules)
void
setCloudAccountIds(List<String> cloudAccountIds)
void
setCreatedAt(String createdAt)
void
setCustomProperties(Map<String,String> customProperties)
void
setDeploymentId(String deploymentId)
void
setDescription(String description)
void
setExternalId(String externalId)
void
setExternalRegionId(String externalRegionId)
void
setExternalZoneId(String externalZoneId)
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
setProjectId(String projectId)
void
setRules(List<Rule> rules)
void
setTags(List<Tag> tags)
void
setUpdatedAt(String updatedAt)
SecurityGroup
tags(List<Tag> tags)
String
toString()
SecurityGroup
updatedAt(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
-