Class Ami

    • Method Detail

      • region

        public final String region()

        The Amazon Web Services Region of the Amazon EC2 AMI.

        Returns:
        The Amazon Web Services Region of the Amazon EC2 AMI.
      • image

        public final String image()

        The AMI ID of the Amazon EC2 AMI.

        Returns:
        The AMI ID of the Amazon EC2 AMI.
      • name

        public final String name()

        The name of the Amazon EC2 AMI.

        Returns:
        The name of the Amazon EC2 AMI.
      • description

        public final String description()

        The description of the Amazon EC2 AMI. Minimum and maximum length are in characters.

        Returns:
        The description of the Amazon EC2 AMI. Minimum and maximum length are in characters.
      • state

        public final ImageState state()
        Returns the value of the State property for this object.
        Returns:
        The value of the State property for this object.
      • accountId

        public final String accountId()

        The account ID of the owner of the AMI.

        Returns:
        The account ID of the owner of the AMI.
      • serializableBuilderClass

        public static Class<? extends Ami.Builder> serializableBuilderClass()
      • 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)