Class GetVolumeResult


  • public final class GetVolumeResult
    extends java.lang.Object
    • Method Detail

      • arn

        public java.lang.String arn()
        Returns:
        Volume ARN (e.g., arn:aws:ec2:us-east-1:123456789012:volume/vol-59fcb34e).
      • availabilityZone

        public java.lang.String availabilityZone()
        Returns:
        Availability zone where the EBS volume exists.
      • createTime

        public java.lang.String createTime()
        Returns:
        Timestamp when volume creation was initiated.
      • encrypted

        public java.lang.Boolean encrypted()
        Returns:
        Whether the disk is encrypted.
      • id

        public java.lang.String id()
        Returns:
        The provider-assigned unique ID for this managed resource.
      • iops

        public java.lang.Integer iops()
        Returns:
        Amount of IOPS for the disk.
      • kmsKeyId

        public java.lang.String kmsKeyId()
        Returns:
        ARN for the KMS encryption key.
      • mostRecent

        public java.util.Optional<java.lang.Boolean> mostRecent()
      • multiAttachEnabled

        public java.lang.Boolean multiAttachEnabled()
        Returns:
        (Optional) Specifies whether Amazon EBS Multi-Attach is enabled.
      • outpostArn

        public java.lang.String outpostArn()
        Returns:
        ARN of the Outpost.
      • region

        public java.lang.String region()
      • size

        public java.lang.Integer size()
        Returns:
        Size of the drive in GiBs.
      • snapshotId

        public java.lang.String snapshotId()
        Returns:
        Snapshot_id the EBS volume is based off.
      • tags

        public java.util.Map<java.lang.String,​java.lang.String> tags()
        Returns:
        Map of tags for the resource.
      • throughput

        public java.lang.Integer throughput()
        Returns:
        Throughput that the volume supports, in MiB/s.
      • volumeId

        public java.lang.String volumeId()
        Returns:
        Volume ID (e.g., vol-59fcb34e).
      • volumeInitializationRate

        public java.lang.Integer volumeInitializationRate()
        Returns:
        EBS provisioned rate for volume initialization, in MiB/s, at which to download the snapshot blocks from Amazon S3 to the volume.
      • volumeType

        public java.lang.String volumeType()
        Returns:
        Type of EBS volume.