Class LaunchTemplateSpecification

    • Method Detail

      • launchTemplateId

        public final String launchTemplateId()

        A unique identifier for an existing Amazon EC2 launch template.

        Returns:
        A unique identifier for an existing Amazon EC2 launch template.
      • launchTemplateName

        public final String launchTemplateName()

        A readable identifier for an existing Amazon EC2 launch template.

        Returns:
        A readable identifier for an existing Amazon EC2 launch template.
      • version

        public final String version()

        The version of the Amazon EC2 launch template to use. If no version is specified, the default version will be used. With Amazon EC2, you can specify a default version for a launch template. If none is set, the default is the first version created.

        Returns:
        The version of the Amazon EC2 launch template to use. If no version is specified, the default version will be used. With Amazon EC2, you can specify a default version for a launch template. If none is set, the default is the first version created.
      • 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)