Class AttachVolumeRequest

    • Method Detail

      • device

        public final String device()

        The device name (for example, /dev/sdh or xvdh).

        Returns:
        The device name (for example, /dev/sdh or xvdh).
      • instanceId

        public final String instanceId()

        The ID of the instance.

        Returns:
        The ID of the instance.
      • volumeId

        public final String volumeId()

        The ID of the EBS volume. The volume and instance must be within the same Availability Zone.

        Returns:
        The ID of the EBS volume. The volume and instance must be within the same Availability Zone.
      • dryRun

        public final Boolean dryRun()

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Returns:
        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object