Interface Bundle.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Bundle.Builder,Bundle>,SdkBuilder<Bundle.Builder,Bundle>,SdkPojo
- Enclosing class:
- Bundle
public static interface Bundle.Builder extends SdkPojo, CopyableBuilder<Bundle.Builder,Bundle>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Bundle.BuilderbundleId(String bundleId)The bundle ID (micro_1_0).Bundle.BuildercpuCount(Integer cpuCount)The number of vCPUs included in the bundle (2).Bundle.BuilderdiskSizeInGb(Integer diskSizeInGb)The size of the SSD (30).Bundle.BuilderinstanceType(String instanceType)The Amazon EC2 instance type (t2.micro).Bundle.BuilderisActive(Boolean isActive)A Boolean value indicating whether the bundle is active.Bundle.Buildername(String name)A friendly name for the bundle (Micro).Bundle.Builderpower(Integer power)A numeric value that represents the power of the bundle (500).Bundle.Builderprice(Float price)The price in US dollars (5.0) of the bundle.Bundle.BuilderpublicIpv4AddressCount(Integer publicIpv4AddressCount)An integer that indicates the public ipv4 address count included in the bundle, the value is either 0 or 1.Bundle.BuilderramSizeInGb(Float ramSizeInGb)The amount of RAM in GB (2.0).Bundle.BuildersupportedAppCategories(Collection<AppCategory> supportedAppCategories)Virtual computer blueprints that are supported by a Lightsail for Research bundle.Bundle.BuildersupportedAppCategories(AppCategory... supportedAppCategories)Virtual computer blueprints that are supported by a Lightsail for Research bundle.Bundle.BuildersupportedAppCategoriesWithStrings(String... supportedAppCategories)Virtual computer blueprints that are supported by a Lightsail for Research bundle.Bundle.BuildersupportedAppCategoriesWithStrings(Collection<String> supportedAppCategories)Virtual computer blueprints that are supported by a Lightsail for Research bundle.Bundle.BuildersupportedPlatforms(Collection<InstancePlatform> supportedPlatforms)The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.Bundle.BuildersupportedPlatforms(InstancePlatform... supportedPlatforms)The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.Bundle.BuildersupportedPlatformsWithStrings(String... supportedPlatforms)The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.Bundle.BuildersupportedPlatformsWithStrings(Collection<String> supportedPlatforms)The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports.Bundle.BuildertransferPerMonthInGb(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 Detail
-
price
Bundle.Builder price(Float 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
Bundle.Builder cpuCount(Integer 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
Bundle.Builder diskSizeInGb(Integer 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
Bundle.Builder bundleId(String 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
Bundle.Builder instanceType(String 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
Bundle.Builder isActive(Boolean 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
Bundle.Builder name(String 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
Bundle.Builder power(Integer 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
Bundle.Builder ramSizeInGb(Float 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
Bundle.Builder transferPerMonthInGb(Integer 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
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
WINDOWSbundle on a blueprint that supports theWINDOWSplatform.LINUX_UNIXblueprints require aLINUX_UNIXbundle.- Parameters:
supportedPlatforms- The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch aWINDOWSbundle on a blueprint that supports theWINDOWSplatform.LINUX_UNIXblueprints require aLINUX_UNIXbundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedPlatformsWithStrings
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
WINDOWSbundle on a blueprint that supports theWINDOWSplatform.LINUX_UNIXblueprints require aLINUX_UNIXbundle.- Parameters:
supportedPlatforms- The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch aWINDOWSbundle on a blueprint that supports theWINDOWSplatform.LINUX_UNIXblueprints require aLINUX_UNIXbundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedPlatforms
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
WINDOWSbundle on a blueprint that supports theWINDOWSplatform.LINUX_UNIXblueprints require aLINUX_UNIXbundle.- Parameters:
supportedPlatforms- The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch aWINDOWSbundle on a blueprint that supports theWINDOWSplatform.LINUX_UNIXblueprints require aLINUX_UNIXbundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedPlatforms
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
WINDOWSbundle on a blueprint that supports theWINDOWSplatform.LINUX_UNIXblueprints require aLINUX_UNIXbundle.- Parameters:
supportedPlatforms- The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch aWINDOWSbundle on a blueprint that supports theWINDOWSplatform.LINUX_UNIXblueprints require aLINUX_UNIXbundle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedAppCategoriesWithStrings
Bundle.Builder supportedAppCategoriesWithStrings(Collection<String> 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.
-
supportedAppCategoriesWithStrings
Bundle.Builder supportedAppCategoriesWithStrings(String... 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
Bundle.Builder supportedAppCategories(Collection<AppCategory> 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
Bundle.Builder supportedAppCategories(AppCategory... 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
Bundle.Builder publicIpv4AddressCount(Integer 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.
-
-