Class Blueprint

    • Method Detail

      • blueprintId

        public final String blueprintId()

        The ID for the virtual private server image (app_wordpress_4_4 or app_lamp_7_0).

        Returns:
        The ID for the virtual private server image (app_wordpress_4_4 or app_lamp_7_0 ).
      • name

        public final String name()

        The friendly name of the blueprint (Amazon Linux).

        Returns:
        The friendly name of the blueprint (Amazon Linux).
      • group

        public final String group()

        The group name of the blueprint (amazon-linux).

        Returns:
        The group name of the blueprint (amazon-linux).
      • typeAsString

        public final String typeAsString()

        The type of the blueprint (os or app).

        If the service returns an enum value that is not available in the current SDK version, type will return BlueprintType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

        Returns:
        The type of the blueprint (os or app).
        See Also:
        BlueprintType
      • description

        public final String description()

        The description of the blueprint.

        Returns:
        The description of the blueprint.
      • isActive

        public final Boolean isActive()

        A Boolean value indicating whether the blueprint is active. Inactive blueprints are listed to support customers with existing instances but are not necessarily available for launch of new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.

        Returns:
        A Boolean value indicating whether the blueprint is active. Inactive blueprints are listed to support customers with existing instances but are not necessarily available for launch of new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.
      • minPower

        public final Integer minPower()

        The minimum bundle power required to run this blueprint. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500. 0 indicates that the blueprint runs on all instance sizes.

        Returns:
        The minimum bundle power required to run this blueprint. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500. 0 indicates that the blueprint runs on all instance sizes.
      • version

        public final String version()

        The version number of the operating system, application, or stack ( 2016.03.0).

        Returns:
        The version number of the operating system, application, or stack ( 2016.03.0).
      • versionCode

        public final String versionCode()

        The version code.

        Returns:
        The version code.
      • productUrl

        public final String productUrl()

        The product URL to learn more about the image or blueprint.

        Returns:
        The product URL to learn more about the image or blueprint.
      • licenseUrl

        public final String licenseUrl()

        The end-user license agreement URL for the image or blueprint.

        Returns:
        The end-user license agreement URL for the image or blueprint.
      • platform

        public final InstancePlatform platform()

        The operating system platform (either Linux/Unix-based or Windows Server-based) of the blueprint.

        If the service returns an enum value that is not available in the current SDK version, platform will return InstancePlatform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from platformAsString().

        Returns:
        The operating system platform (either Linux/Unix-based or Windows Server-based) of the blueprint.
        See Also:
        InstancePlatform
      • platformAsString

        public final String platformAsString()

        The operating system platform (either Linux/Unix-based or Windows Server-based) of the blueprint.

        If the service returns an enum value that is not available in the current SDK version, platform will return InstancePlatform.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from platformAsString().

        Returns:
        The operating system platform (either Linux/Unix-based or Windows Server-based) of the blueprint.
        See Also:
        InstancePlatform
      • appCategory

        public final AppCategory appCategory()

        Virtual computer blueprints that are supported by Lightsail for Research.

        This parameter only applies to Lightsail for Research resources.

        If the service returns an enum value that is not available in the current SDK version, appCategory will return AppCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from appCategoryAsString().

        Returns:
        Virtual computer blueprints that are supported by Lightsail for Research.

        This parameter only applies to Lightsail for Research resources.

        See Also:
        AppCategory
      • appCategoryAsString

        public final String appCategoryAsString()

        Virtual computer blueprints that are supported by Lightsail for Research.

        This parameter only applies to Lightsail for Research resources.

        If the service returns an enum value that is not available in the current SDK version, appCategory will return AppCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from appCategoryAsString().

        Returns:
        Virtual computer blueprints that are supported by Lightsail for Research.

        This parameter only applies to Lightsail for Research resources.

        See Also:
        AppCategory
      • 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)