Class AwsEc2VolumeAttachment

    • Method Detail

      • attachTime

        public final String attachTime()

        The datetime when the attachment initiated.

        Returns:
        The datetime when the attachment initiated.
      • deleteOnTermination

        public final Boolean deleteOnTermination()

        Whether the EBS volume is deleted when the EC2 instance is terminated.

        Returns:
        Whether the EBS volume is deleted when the EC2 instance is terminated.
      • instanceId

        public final String instanceId()

        The identifier of the EC2 instance.

        Returns:
        The identifier of the EC2 instance.
      • status

        public final String status()

        The attachment state of the volume. Valid values are as follows:

        • attaching

        • attached

        • busy

        • detaching

        • detached

        Returns:
        The attachment state of the volume. Valid values are as follows:

        • attaching

        • attached

        • busy

        • detaching

        • detached

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)