@Generated(value="software.amazon.awssdk:codegen") public final class Blueprint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Blueprint.Builder,Blueprint>
Describes a blueprint (a virtual private server image).
Modifier and Type | Class and Description |
---|---|
static interface |
Blueprint.Builder |
Modifier and Type | Method and Description |
---|---|
String |
blueprintId()
The ID for the virtual private server image (e.g.,
app_wordpress_4_4 or app_lamp_7_0 ). |
static Blueprint.Builder |
builder() |
String |
description()
The description of the blueprint.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
group()
The group name of the blueprint (e.g.,
amazon-linux ). |
int |
hashCode() |
Boolean |
isActive()
A Boolean value indicating whether the blueprint is active.
|
String |
licenseUrl()
The end-user license agreement URL for the image or blueprint.
|
Integer |
minPower()
The minimum bundle power required to run this blueprint.
|
String |
name()
The friendly name of the blueprint (e.g.,
Amazon Linux ). |
InstancePlatform |
platform()
The operating system platform (either Linux/Unix-based or Windows Server-based) of the blueprint.
|
String |
platformAsString()
The operating system platform (either Linux/Unix-based or Windows Server-based) of the blueprint.
|
String |
productUrl()
The product URL to learn more about the image or blueprint.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Blueprint.Builder> |
serializableBuilderClass() |
Blueprint.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
BlueprintType |
type()
The type of the blueprint (e.g.,
os or app ). |
String |
typeAsString()
The type of the blueprint (e.g.,
os or app ). |
String |
version()
The version number of the operating system, application, or stack (e.g.,
2016.03.0 ). |
String |
versionCode()
The version code.
|
copy
public final String blueprintId()
The ID for the virtual private server image (e.g., app_wordpress_4_4
or app_lamp_7_0
).
app_wordpress_4_4
or
app_lamp_7_0
).public final String name()
The friendly name of the blueprint (e.g., Amazon Linux
).
Amazon Linux
).public final String group()
The group name of the blueprint (e.g., amazon-linux
).
amazon-linux
).public final BlueprintType type()
The type of the blueprint (e.g., 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()
.
os
or app
).BlueprintType
public final String typeAsString()
The type of the blueprint (e.g., 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()
.
os
or app
).BlueprintType
public final String description()
The description of the blueprint.
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.
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.
0
indicates that the blueprint runs on all instance sizes.public final String version()
The version number of the operating system, application, or stack (e.g., 2016.03.0
).
2016.03.0
).public final String versionCode()
The version code.
public final String productUrl()
The product URL to learn more about the image or blueprint.
public final String licenseUrl()
The end-user license agreement URL for the image or blueprint.
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()
.
InstancePlatform
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()
.
InstancePlatform
public Blueprint.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Blueprint.Builder,Blueprint>
public static Blueprint.Builder builder()
public static Class<? extends Blueprint.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()