Class SecurityGroupSpecification
java.lang.Object
com.vmware.vra.jenkinsplugin.model.iaas.SecurityGroupSpecification
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2020-09-09T18:26:35.661905-04:00[America/New_York]") public class SecurityGroupSpecification extends Object
Specification for a cloud security group
-
Constructor Summary
Constructors Constructor Description SecurityGroupSpecification() -
Method Summary
Modifier and Type Method Description SecurityGroupSpecificationaddRulesItem(Rule rulesItem)SecurityGroupSpecificationaddTagsItem(Tag tagsItem)SecurityGroupSpecificationcustomProperties(Map<String,String> customProperties)SecurityGroupSpecificationdeploymentId(String deploymentId)SecurityGroupSpecificationdescription(String description)booleanequals(Object o)Map<String,String>getCustomProperties()Additional custom properties that may be used to extend the group.StringgetDeploymentId()The id of the deployment that is associated with this resourceStringgetDescription()A human-friendly description.StringgetName()A human-friendly name used as an identifier in APIs that support this option.StringgetProjectId()The id of the project the current user belongs to.List<Rule>getRules()List of security rules.List<Tag>getTags()A set of tag keys and optional values that should be set on any resource that is produced from this specification.inthashCode()SecurityGroupSpecificationname(String name)SecurityGroupSpecificationprojectId(String projectId)SecurityGroupSpecificationputCustomPropertiesItem(String key, String customPropertiesItem)SecurityGroupSpecificationrules(List<Rule> rules)voidsetCustomProperties(Map<String,String> customProperties)voidsetDeploymentId(String deploymentId)voidsetDescription(String description)voidsetName(String name)voidsetProjectId(String projectId)voidsetRules(List<Rule> rules)voidsetTags(List<Tag> tags)SecurityGroupSpecificationtags(List<Tag> tags)StringtoString()
-
Constructor Details
-
SecurityGroupSpecification
public SecurityGroupSpecification()
-
-
Method Details
-
customProperties
-
putCustomPropertiesItem
-
getCustomProperties
Additional custom properties that may be used to extend the group.- Returns:
- customProperties
-
setCustomProperties
-
deploymentId
-
getDeploymentId
The id of the deployment 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
-
description
-
getDescription
A human-friendly description.- Returns:
- description
-
setDescription
-
rules
-
addRulesItem
-
getRules
List of security rules.- Returns:
- rules
-
setRules
-
projectId
-
getProjectId
The id of the project the current user belongs to.- Returns:
- projectId
-
setProjectId
-
tags
-
addTagsItem
-
getTags
A set of tag keys and optional values that should be set on any resource that is produced from this specification.- Returns:
- tags
-
setTags
-
equals
-
hashCode
public int hashCode() -
toString
-