@Generated(value="software.amazon.awssdk:codegen") public final class Blueprint extends Object implements StructuredPojo, 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) |
<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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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() |
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 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 String name()
The friendly name of the blueprint (e.g., Amazon Linux
).
Amazon Linux
).public String group()
The group name of the blueprint (e.g., amazon-linux
).
amazon-linux
).public 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 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 String description()
The description of the blueprint.
public Boolean isActive()
A Boolean value indicating whether the blueprint is active. When you update your blueprints, you will inactivate old blueprints and keep the most recent versions active.
public 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 String version()
The version number of the operating system, application, or stack (e.g., 2016.03.0
).
2016.03.0
).public String versionCode()
The version code.
public String productUrl()
The product URL to learn more about the image or blueprint.
public String licenseUrl()
The end-user license agreement URL for the image or blueprint.
public 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 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 void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.