@Generated(value="software.amazon.awssdk:codegen") public final class Bundle extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Bundle.Builder,Bundle>
Describes a bundle, which is a set of specs describing your virtual private server (or instance).
| Modifier and Type | Class and Description |
|---|---|
static interface |
Bundle.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Bundle.Builder |
builder() |
String |
bundleId()
The bundle ID (e.g.,
micro_1_0). |
Integer |
cpuCount()
The number of vCPUs included in the bundle (e.g.,
2). |
Integer |
diskSizeInGb()
The size of the SSD (e.g.,
30). |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSupportedPlatforms()
Returns true if the SupportedPlatforms property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
String |
instanceType()
The Amazon EC2 instance type (e.g.,
t2.micro). |
Boolean |
isActive()
A Boolean value indicating whether the bundle is active.
|
String |
name()
A friendly name for the bundle (e.g.,
Micro). |
Integer |
power()
A numeric value that represents the power of the bundle (e.g.,
500). |
Float |
price()
The price in US dollars (e.g.,
5.0) of the bundle. |
Float |
ramSizeInGb()
The amount of RAM in GB (e.g.,
2.0). |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Bundle.Builder> |
serializableBuilderClass() |
List<InstancePlatform> |
supportedPlatforms()
The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.
|
List<String> |
supportedPlatformsAsStrings()
The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.
|
Bundle.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
transferPerMonthInGb()
The data transfer rate per month in GB (e.g.,
2000). |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Float price()
The price in US dollars (e.g., 5.0) of the bundle.
5.0) of the bundle.public final Integer cpuCount()
The number of vCPUs included in the bundle (e.g., 2).
2).public final Integer diskSizeInGb()
The size of the SSD (e.g., 30).
30).public final String bundleId()
The bundle ID (e.g., micro_1_0).
micro_1_0).public final String instanceType()
The Amazon EC2 instance type (e.g., t2.micro).
t2.micro).public final Boolean isActive()
A Boolean value indicating whether the bundle is active.
public final String name()
A friendly name for the bundle (e.g., Micro).
Micro).public final Integer power()
A numeric value that represents the power of the bundle (e.g., 500). You can use the bundle's power
value in conjunction with a blueprint's minimum power value to determine whether the blueprint will run on the
bundle. 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.
500). You can use the
bundle's power value in conjunction with a blueprint's minimum power value to determine whether the
blueprint will run on the bundle. 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.public final Float ramSizeInGb()
The amount of RAM in GB (e.g., 2.0).
2.0).public final Integer transferPerMonthInGb()
The data transfer rate per month in GB (e.g., 2000).
2000).public final List<InstancePlatform> supportedPlatforms()
The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only
launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform.
LINUX_UNIX blueprints require a LINUX_UNIX bundle.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedPlatforms() to see if a value was sent in this field.
WINDOWS bundle on a blueprint that supports the WINDOWS
platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.public final boolean hasSupportedPlatforms()
public final List<String> supportedPlatformsAsStrings()
The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only
launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform.
LINUX_UNIX blueprints require a LINUX_UNIX bundle.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedPlatforms() to see if a value was sent in this field.
WINDOWS bundle on a blueprint that supports the WINDOWS
platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.public Bundle.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Bundle.Builder,Bundle>public static Bundle.Builder builder()
public static Class<? extends Bundle.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.