Interface Bundle.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Bundle.Builder,
,Bundle> SdkBuilder<Bundle.Builder,
,Bundle> SdkPojo
- Enclosing class:
Bundle
-
Method Summary
Modifier and TypeMethodDescriptionThe bundle ID (micro_1_0
).The number of vCPUs included in the bundle (2
).diskSizeInGb
(Integer diskSizeInGb) The size of the SSD (30
).instanceType
(String instanceType) The Amazon EC2 instance type (t2.micro
).A Boolean value indicating whether the bundle is active.A friendly name for the bundle (Micro
).A numeric value that represents the power of the bundle (500
).The price in US dollars (5.0
) of the bundle.publicIpv4AddressCount
(Integer publicIpv4AddressCount) An integer that indicates the public ipv4 address count included in the bundle, the value is either 0 or 1.ramSizeInGb
(Float ramSizeInGb) The amount of RAM in GB (2.0
).supportedAppCategories
(Collection<AppCategory> supportedAppCategories) Virtual computer blueprints that are supported by a Lightsail for Research bundle.supportedAppCategories
(AppCategory... supportedAppCategories) Virtual computer blueprints that are supported by a Lightsail for Research bundle.supportedAppCategoriesWithStrings
(String... supportedAppCategories) Virtual computer blueprints that are supported by a Lightsail for Research bundle.supportedAppCategoriesWithStrings
(Collection<String> supportedAppCategories) Virtual computer blueprints that are supported by a Lightsail for Research bundle.supportedPlatforms
(Collection<InstancePlatform> supportedPlatforms) The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.supportedPlatforms
(InstancePlatform... supportedPlatforms) The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.supportedPlatformsWithStrings
(String... supportedPlatforms) The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.supportedPlatformsWithStrings
(Collection<String> supportedPlatforms) The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.transferPerMonthInGb
(Integer transferPerMonthInGb) The data transfer rate per month in GB (2000
).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
price
The price in US dollars (
5.0
) of the bundle.- Parameters:
price
- The price in US dollars (5.0
) of the bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpuCount
The number of vCPUs included in the bundle (
2
).- Parameters:
cpuCount
- The number of vCPUs included in the bundle (2
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diskSizeInGb
The size of the SSD (
30
).- Parameters:
diskSizeInGb
- The size of the SSD (30
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bundleId
The bundle ID (
micro_1_0
).- Parameters:
bundleId
- The bundle ID (micro_1_0
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The Amazon EC2 instance type (
t2.micro
).- Parameters:
instanceType
- The Amazon EC2 instance type (t2.micro
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isActive
A Boolean value indicating whether the bundle is active.
- Parameters:
isActive
- A Boolean value indicating whether the bundle is active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A friendly name for the bundle (
Micro
).- Parameters:
name
- A friendly name for the bundle (Micro
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
power
A numeric value that represents the power of the bundle (
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.- Parameters:
power
- A numeric value that represents the power of the bundle (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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ramSizeInGb
The amount of RAM in GB (
2.0
).- Parameters:
ramSizeInGb
- The amount of RAM in GB (2.0
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transferPerMonthInGb
The data transfer rate per month in GB (
2000
).- Parameters:
transferPerMonthInGb
- The data transfer rate per month in GB (2000
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedPlatformsWithStrings
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 theWINDOWS
platform.LINUX_UNIX
blueprints require aLINUX_UNIX
bundle.- Parameters:
supportedPlatforms
- The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch aWINDOWS
bundle on a blueprint that supports theWINDOWS
platform.LINUX_UNIX
blueprints require aLINUX_UNIX
bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedPlatformsWithStrings
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 theWINDOWS
platform.LINUX_UNIX
blueprints require aLINUX_UNIX
bundle.- Parameters:
supportedPlatforms
- The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch aWINDOWS
bundle on a blueprint that supports theWINDOWS
platform.LINUX_UNIX
blueprints require aLINUX_UNIX
bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theWINDOWS
platform.LINUX_UNIX
blueprints require aLINUX_UNIX
bundle.- Parameters:
supportedPlatforms
- The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch aWINDOWS
bundle on a blueprint that supports theWINDOWS
platform.LINUX_UNIX
blueprints require aLINUX_UNIX
bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theWINDOWS
platform.LINUX_UNIX
blueprints require aLINUX_UNIX
bundle.- Parameters:
supportedPlatforms
- The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch aWINDOWS
bundle on a blueprint that supports theWINDOWS
platform.LINUX_UNIX
blueprints require aLINUX_UNIX
bundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedAppCategoriesWithStrings
Virtual computer blueprints that are supported by a Lightsail for Research bundle.
This parameter only applies to Lightsail for Research resources.
- Parameters:
supportedAppCategories
- Virtual computer blueprints that are supported by a Lightsail for Research bundle.This parameter only applies to Lightsail for Research resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedAppCategoriesWithStrings
Virtual computer blueprints that are supported by a Lightsail for Research bundle.
This parameter only applies to Lightsail for Research resources.
- Parameters:
supportedAppCategories
- Virtual computer blueprints that are supported by a Lightsail for Research bundle.This parameter only applies to Lightsail for Research resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedAppCategories
Virtual computer blueprints that are supported by a Lightsail for Research bundle.
This parameter only applies to Lightsail for Research resources.
- Parameters:
supportedAppCategories
- Virtual computer blueprints that are supported by a Lightsail for Research bundle.This parameter only applies to Lightsail for Research resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedAppCategories
Virtual computer blueprints that are supported by a Lightsail for Research bundle.
This parameter only applies to Lightsail for Research resources.
- Parameters:
supportedAppCategories
- Virtual computer blueprints that are supported by a Lightsail for Research bundle.This parameter only applies to Lightsail for Research resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicIpv4AddressCount
An integer that indicates the public ipv4 address count included in the bundle, the value is either 0 or 1.
- Parameters:
publicIpv4AddressCount
- An integer that indicates the public ipv4 address count included in the bundle, the value is either 0 or 1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-