public static interface Bundle.Builder extends SdkPojo, CopyableBuilder<Bundle.Builder,Bundle>
Modifier and Type | Method and Description |
---|---|
Bundle.Builder |
bundleId(String bundleId)
The bundle ID (e.g.,
micro_1_0 ). |
Bundle.Builder |
cpuCount(Integer cpuCount)
The number of vCPUs included in the bundle (e.g.,
2 ). |
Bundle.Builder |
diskSizeInGb(Integer diskSizeInGb)
The size of the SSD (e.g.,
30 ). |
Bundle.Builder |
instanceType(String instanceType)
The Amazon EC2 instance type (e.g.,
t2.micro ). |
Bundle.Builder |
isActive(Boolean isActive)
A Boolean value indicating whether the bundle is active.
|
Bundle.Builder |
name(String name)
A friendly name for the bundle (e.g.,
Micro ). |
Bundle.Builder |
power(Integer power)
A numeric value that represents the power of the bundle (e.g.,
500 ). |
Bundle.Builder |
price(Float price)
The price in US dollars (e.g.,
5.0 ). |
Bundle.Builder |
ramSizeInGb(Float ramSizeInGb)
The amount of RAM in GB (e.g.,
2.0 ). |
Bundle.Builder |
supportedPlatforms(Collection<InstancePlatform> supportedPlatforms)
The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.
|
Bundle.Builder |
supportedPlatforms(InstancePlatform... supportedPlatforms)
The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.
|
Bundle.Builder |
supportedPlatformsWithStrings(Collection<String> supportedPlatforms)
The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.
|
Bundle.Builder |
supportedPlatformsWithStrings(String... supportedPlatforms)
The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.
|
Bundle.Builder |
transferPerMonthInGb(Integer transferPerMonthInGb)
The data transfer rate per month in GB (e.g.,
2000 ). |
copy
applyMutation, build
Bundle.Builder price(Float price)
The price in US dollars (e.g., 5.0
).
price
- The price in US dollars (e.g., 5.0
).Bundle.Builder cpuCount(Integer cpuCount)
The number of vCPUs included in the bundle (e.g., 2
).
cpuCount
- The number of vCPUs included in the bundle (e.g., 2
).Bundle.Builder diskSizeInGb(Integer diskSizeInGb)
The size of the SSD (e.g., 30
).
diskSizeInGb
- The size of the SSD (e.g., 30
).Bundle.Builder bundleId(String bundleId)
The bundle ID (e.g., micro_1_0
).
bundleId
- The bundle ID (e.g., micro_1_0
).Bundle.Builder instanceType(String instanceType)
The Amazon EC2 instance type (e.g., t2.micro
).
instanceType
- The Amazon EC2 instance type (e.g., t2.micro
).Bundle.Builder isActive(Boolean isActive)
A Boolean value indicating whether the bundle is active.
isActive
- A Boolean value indicating whether the bundle is active.Bundle.Builder name(String name)
A friendly name for the bundle (e.g., Micro
).
name
- A friendly name for the bundle (e.g., Micro
).Bundle.Builder power(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.
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.Bundle.Builder ramSizeInGb(Float ramSizeInGb)
The amount of RAM in GB (e.g., 2.0
).
ramSizeInGb
- The amount of RAM in GB (e.g., 2.0
).Bundle.Builder transferPerMonthInGb(Integer transferPerMonthInGb)
The data transfer rate per month in GB (e.g., 2000
).
transferPerMonthInGb
- The data transfer rate per month in GB (e.g., 2000
).Bundle.Builder supportedPlatformsWithStrings(Collection<String> 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.
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.Bundle.Builder supportedPlatformsWithStrings(String... 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.
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.Bundle.Builder supportedPlatforms(Collection<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.
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.Bundle.Builder supportedPlatforms(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.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.