Class VolumeForCreate

java.lang.Object
com.woorea.openstack.nova.model.VolumeForCreate
All Implemented Interfaces:
Serializable

public class VolumeForCreate extends Object implements Serializable
See Also:
  • Field Details

    • size

      private Integer size
    • availabilityZone

      private String availabilityZone
    • name

      private String name
    • description

      private String description
    • snapshotId

      private Integer snapshotId
    • metadata

      private Map<String,String> metadata
  • Constructor Details

    • VolumeForCreate

      public VolumeForCreate()
  • Method Details

    • getSize

      public Integer getSize()
      Returns:
      the size
    • setSize

      public void setSize(Integer size)
      Parameters:
      size - the size to set
    • getAvailabilityZone

      public String getAvailabilityZone()
      Returns:
      the availabilityZone
    • setAvailabilityZone

      public void setAvailabilityZone(String availabilityZone)
      Parameters:
      availabilityZone - the availabilityZone to set
    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • getDescription

      public String getDescription()
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Parameters:
      description - the description to set
    • getSnapshotId

      public Integer getSnapshotId()
      Returns:
      the snapshotId
    • setSnapshotId

      public void setSnapshotId(Integer snapshotId)
      Parameters:
      snapshotId - the snapshotId to set
    • getMetadata

      public Map<String,String> getMetadata()
      Returns:
      the metadata
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
      Parameters:
      metadata - the metadata to set
    • toString

      public String toString()
      Overrides:
      toString in class Object