Interface CatalogItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CatalogItem.Builder,CatalogItem>,SdkBuilder<CatalogItem.Builder,CatalogItem>,SdkPojo
- Enclosing class:
- CatalogItem
public static interface CatalogItem.Builder extends SdkPojo, CopyableBuilder<CatalogItem.Builder,CatalogItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CatalogItem.BuildercatalogItemId(String catalogItemId)The ID of the catalog item.CatalogItem.Builderec2Capacities(Collection<EC2Capacity> ec2Capacities)Information about the EC2 capacity of an item.CatalogItem.Builderec2Capacities(Consumer<EC2Capacity.Builder>... ec2Capacities)Information about the EC2 capacity of an item.CatalogItem.Builderec2Capacities(EC2Capacity... ec2Capacities)Information about the EC2 capacity of an item.CatalogItem.BuilderitemStatus(String itemStatus)The status of a catalog item.CatalogItem.BuilderitemStatus(CatalogItemStatus itemStatus)The status of a catalog item.CatalogItem.BuilderpowerKva(Float powerKva)Information about the power draw of an item.CatalogItem.BuildersupportedStorage(Collection<SupportedStorageEnum> supportedStorage)The supported storage options for the catalog item.CatalogItem.BuildersupportedStorage(SupportedStorageEnum... supportedStorage)The supported storage options for the catalog item.CatalogItem.BuildersupportedStorageWithStrings(String... supportedStorage)The supported storage options for the catalog item.CatalogItem.BuildersupportedStorageWithStrings(Collection<String> supportedStorage)The supported storage options for the catalog item.CatalogItem.BuildersupportedUplinkGbps(Integer... supportedUplinkGbps)The uplink speed this catalog item requires for the connection to the Region.CatalogItem.BuildersupportedUplinkGbps(Collection<Integer> supportedUplinkGbps)The uplink speed this catalog item requires for the connection to the Region.CatalogItem.BuilderweightLbs(Integer weightLbs)The weight of the item in pounds.-
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
-
catalogItemId
CatalogItem.Builder catalogItemId(String catalogItemId)
The ID of the catalog item.
- Parameters:
catalogItemId- The ID of the catalog item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemStatus
CatalogItem.Builder itemStatus(String itemStatus)
The status of a catalog item.
- Parameters:
itemStatus- The status of a catalog item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CatalogItemStatus,CatalogItemStatus
-
itemStatus
CatalogItem.Builder itemStatus(CatalogItemStatus itemStatus)
The status of a catalog item.
- Parameters:
itemStatus- The status of a catalog item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CatalogItemStatus,CatalogItemStatus
-
ec2Capacities
CatalogItem.Builder ec2Capacities(Collection<EC2Capacity> ec2Capacities)
Information about the EC2 capacity of an item.
- Parameters:
ec2Capacities- Information about the EC2 capacity of an item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2Capacities
CatalogItem.Builder ec2Capacities(EC2Capacity... ec2Capacities)
Information about the EC2 capacity of an item.
- Parameters:
ec2Capacities- Information about the EC2 capacity of an item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2Capacities
CatalogItem.Builder ec2Capacities(Consumer<EC2Capacity.Builder>... ec2Capacities)
Information about the EC2 capacity of an item.
This is a convenience method that creates an instance of theEC2Capacity.Builderavoiding the need to create one manually viaEC2Capacity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ec2Capacities(List.) - Parameters:
ec2Capacities- a consumer that will call methods onEC2Capacity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ec2Capacities(java.util.Collection)
-
powerKva
CatalogItem.Builder powerKva(Float powerKva)
Information about the power draw of an item.
- Parameters:
powerKva- Information about the power draw of an item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weightLbs
CatalogItem.Builder weightLbs(Integer weightLbs)
The weight of the item in pounds.
- Parameters:
weightLbs- The weight of the item in pounds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedUplinkGbps
CatalogItem.Builder supportedUplinkGbps(Collection<Integer> supportedUplinkGbps)
The uplink speed this catalog item requires for the connection to the Region.
- Parameters:
supportedUplinkGbps- The uplink speed this catalog item requires for the connection to the Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedUplinkGbps
CatalogItem.Builder supportedUplinkGbps(Integer... supportedUplinkGbps)
The uplink speed this catalog item requires for the connection to the Region.
- Parameters:
supportedUplinkGbps- The uplink speed this catalog item requires for the connection to the Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedStorageWithStrings
CatalogItem.Builder supportedStorageWithStrings(Collection<String> supportedStorage)
The supported storage options for the catalog item.
- Parameters:
supportedStorage- The supported storage options for the catalog item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedStorageWithStrings
CatalogItem.Builder supportedStorageWithStrings(String... supportedStorage)
The supported storage options for the catalog item.
- Parameters:
supportedStorage- The supported storage options for the catalog item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedStorage
CatalogItem.Builder supportedStorage(Collection<SupportedStorageEnum> supportedStorage)
The supported storage options for the catalog item.
- Parameters:
supportedStorage- The supported storage options for the catalog item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportedStorage
CatalogItem.Builder supportedStorage(SupportedStorageEnum... supportedStorage)
The supported storage options for the catalog item.
- Parameters:
supportedStorage- The supported storage options for the catalog item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-