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 BlockDeviceSpecification
addConstraintsItem(Constraint constraintsItem)
BlockDeviceSpecification
addTagsItem(Tag tagsItem)
BlockDeviceSpecification
capacityInGB(Integer capacityInGB)
BlockDeviceSpecification
constraints(List<Constraint> constraints)
BlockDeviceSpecification
customProperties(Map<String,String> customProperties)
BlockDeviceSpecification
deploymentId(String deploymentId)
BlockDeviceSpecification
description(String description)
BlockDeviceSpecification
diskContentBase64(String diskContentBase64)
BlockDeviceSpecification
encrypted(Boolean encrypted)
boolean
equals(Object o)
Integer
getCapacityInGB()
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.String
getDeploymentId()
The id of the deployment that is associated with this resourceString
getDescription()
A human-friendly description.String
getDiskContentBase64()
Content of a disk, base64 encoded.String
getName()
A human-friendly name used as an identifier in APIs that support this option.String
getProjectId()
The id of the project the current user belongs to.String
getSourceReference()
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.int
hashCode()
Boolean
isEncrypted()
Indicates whether the block device should be encrypted or not.Boolean
isPersistent()
Indicates whether the block device survives a delete action.BlockDeviceSpecification
name(String name)
BlockDeviceSpecification
persistent(Boolean persistent)
BlockDeviceSpecification
projectId(String projectId)
BlockDeviceSpecification
putCustomPropertiesItem(String key, String customPropertiesItem)
void
setCapacityInGB(Integer capacityInGB)
void
setConstraints(List<Constraint> constraints)
void
setCustomProperties(Map<String,String> customProperties)
void
setDeploymentId(String deploymentId)
void
setDescription(String description)
void
setDiskContentBase64(String diskContentBase64)
void
setEncrypted(Boolean encrypted)
void
setName(String name)
void
setPersistent(Boolean persistent)
void
setProjectId(String projectId)
void
setSourceReference(String sourceReference)
void
setTags(List<Tag> tags)
BlockDeviceSpecification
sourceReference(String sourceReference)
BlockDeviceSpecification
tags(List<Tag> tags)
String
toString()
-
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
-