Class NetworkSpecification
java.lang.Object
com.vmware.vra.jenkinsplugin.model.iaas.NetworkSpecification
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2020-09-09T18:26:35.661905-04:00[America/New_York]") public class NetworkSpecification extends Object
Specification for a cloud network
-
Constructor Summary
Constructors Constructor Description NetworkSpecification() -
Method Summary
Modifier and Type Method Description NetworkSpecificationaddConstraintsItem(Constraint constraintsItem)NetworkSpecificationaddTagsItem(Tag tagsItem)NetworkSpecificationconstraints(List<Constraint> constraints)NetworkSpecificationcustomProperties(Map<String,String> customProperties)NetworkSpecificationdeploymentId(String deploymentId)NetworkSpecificationdescription(String description)booleanequals(Object o)List<Constraint>getConstraints()Constraints that are used to drive placement policies for the network that is produced from this specification, related with the network profile.Map<String,String>getCustomProperties()Additional custom properties that may be used to extend the network.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<Tag>getTags()A set of tag keys and optional values that should be set on any resource that is produced from this specification.inthashCode()BooleanisOutboundAccess()Flag to indicate if the network needs to have outbound access or not.NetworkSpecificationname(String name)NetworkSpecificationoutboundAccess(Boolean outboundAccess)NetworkSpecificationprojectId(String projectId)NetworkSpecificationputCustomPropertiesItem(String key, String customPropertiesItem)voidsetConstraints(List<Constraint> constraints)voidsetCustomProperties(Map<String,String> customProperties)voidsetDeploymentId(String deploymentId)voidsetDescription(String description)voidsetName(String name)voidsetOutboundAccess(Boolean outboundAccess)voidsetProjectId(String projectId)voidsetTags(List<Tag> tags)NetworkSpecificationtags(List<Tag> tags)StringtoString()
-
Constructor Details
-
NetworkSpecification
public NetworkSpecification()
-
-
Method Details
-
customProperties
-
putCustomPropertiesItem
-
getCustomProperties
Additional custom properties that may be used to extend the network.- Returns:
- customProperties
-
setCustomProperties
-
deploymentId
-
getDeploymentId
The id of the deployment that is associated with this resource- Returns:
- deploymentId
-
setDeploymentId
-
outboundAccess
-
isOutboundAccess
Flag to indicate if the network needs to have outbound access or not. Default is true. This field will be ignored if there is proper input for networkType customProperty- Returns:
- outboundAccess
-
setOutboundAccess
-
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
-
projectId
-
getProjectId
The id of the project the current user belongs to.- Returns:
- projectId
-
setProjectId
-
constraints
-
addConstraintsItem
-
getConstraints
Constraints that are used to drive placement policies for the network that is produced from this specification, related with the network profile. Constraint expressions are matched against tags on existing placement targets.- Returns:
- constraints
-
setConstraints
-
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
-