Class BlockDeviceSpecification
java.lang.Object
com.vmware.vra.jenkinsplugin.model.iaas.BlockDeviceSpecification
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2020-09-09T18:26:35.661905-04:00[America/New_York]") public class BlockDeviceSpecification extends Object
BlockDeviceSpecification
-
Constructor Summary
Constructors Constructor Description BlockDeviceSpecification() -
Method Summary
Modifier and Type Method Description BlockDeviceSpecificationaddConstraintsItem(Constraint constraintsItem)BlockDeviceSpecificationaddTagsItem(Tag tagsItem)BlockDeviceSpecificationcapacityInGB(Integer capacityInGB)BlockDeviceSpecificationconstraints(List<Constraint> constraints)BlockDeviceSpecificationcustomProperties(Map<String,String> customProperties)BlockDeviceSpecificationdeploymentId(String deploymentId)BlockDeviceSpecificationdescription(String description)BlockDeviceSpecificationdiskContentBase64(String diskContentBase64)BlockDeviceSpecificationencrypted(Boolean encrypted)booleanequals(Object o)IntegergetCapacityInGB()Capacity of the block device in GB.List<Constraint>getConstraints()Constraints that are used to drive placement policies for the block device that is produced from this specification.Map<String,String>getCustomProperties()Additional custom properties that may be used to extend the block device.StringgetDeploymentId()The id of the deployment that is associated with this resourceStringgetDescription()A human-friendly description.StringgetDiskContentBase64()Content of a disk, base64 encoded.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.StringgetSourceReference()Reference to URI using which the block device has to be created.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()BooleanisEncrypted()Indicates whether the block device should be encrypted or not.BooleanisPersistent()Indicates whether the block device survives a delete action.BlockDeviceSpecificationname(String name)BlockDeviceSpecificationpersistent(Boolean persistent)BlockDeviceSpecificationprojectId(String projectId)BlockDeviceSpecificationputCustomPropertiesItem(String key, String customPropertiesItem)voidsetCapacityInGB(Integer capacityInGB)voidsetConstraints(List<Constraint> constraints)voidsetCustomProperties(Map<String,String> customProperties)voidsetDeploymentId(String deploymentId)voidsetDescription(String description)voidsetDiskContentBase64(String diskContentBase64)voidsetEncrypted(Boolean encrypted)voidsetName(String name)voidsetPersistent(Boolean persistent)voidsetProjectId(String projectId)voidsetSourceReference(String sourceReference)voidsetTags(List<Tag> tags)BlockDeviceSpecificationsourceReference(String sourceReference)BlockDeviceSpecificationtags(List<Tag> tags)StringtoString()
-
Constructor Details
-
BlockDeviceSpecification
public BlockDeviceSpecification()
-
-
Method Details
-
capacityInGB
-
getCapacityInGB
Capacity of the block device in GB.- Returns:
- capacityInGB
-
setCapacityInGB
-
sourceReference
-
getSourceReference
Reference to URI using which the block device has to be created.- Returns:
- sourceReference
-
setSourceReference
-
customProperties
-
putCustomPropertiesItem
-
getCustomProperties
Additional custom properties that may be used to extend the block device.- Returns:
- customProperties
-
setCustomProperties
-
encrypted
-
isEncrypted
Indicates whether the block device should be encrypted or not.- Returns:
- encrypted
-
setEncrypted
-
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
-
diskContentBase64
-
getDiskContentBase64
Content of a disk, base64 encoded.- Returns:
- diskContentBase64
-
setDiskContentBase64
-
persistent
-
isPersistent
Indicates whether the block device survives a delete action.- Returns:
- persistent
-
setPersistent
-
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 block device that is produced from this specification. 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
-