Class EbsInstanceBlockDevice

    • Method Detail

      • attachTime

        public final Instant attachTime()

        The time stamp when the attachment initiated.

        Returns:
        The time stamp when the attachment initiated.
      • deleteOnTermination

        public final Boolean deleteOnTermination()

        Indicates whether the volume is deleted on instance termination.

        Returns:
        Indicates whether the volume is deleted on instance termination.
      • volumeId

        public final String volumeId()

        The ID of the EBS volume.

        Returns:
        The ID of the EBS volume.
      • associatedResource

        public final String associatedResource()

        The ARN of the Amazon ECS or Fargate task to which the volume is attached.

        Returns:
        The ARN of the Amazon ECS or Fargate task to which the volume is attached.
      • volumeOwnerId

        public final String volumeOwnerId()

        The ID of the Amazon Web Services account that owns the volume.

        This parameter is returned only for volumes that are attached to Fargate tasks.

        Returns:
        The ID of the Amazon Web Services account that owns the volume.

        This parameter is returned only for volumes that are attached to Fargate tasks.

      • 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)