CopyableBuilder<Bundle.Builder,Bundle>
, SdkBuilder<Bundle.Builder,Bundle>
public static interface Bundle.Builder extends CopyableBuilder<Bundle.Builder,Bundle>
Modifier and Type | Method | 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) |
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 |
transferPerMonthInGb(Integer transferPerMonthInGb) |
The data transfer rate per month in GB (e.g.,
2000 ). |
copy
apply, 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)
The power of the bundle (e.g., 500
).
power
- The power of the bundle (e.g., 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
).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.