Interface ServerSpecificationDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServerSpecificationDetails.Builder,,ServerSpecificationDetails> SdkBuilder<ServerSpecificationDetails.Builder,,ServerSpecificationDetails> SdkPojo
- Enclosing class:
ServerSpecificationDetails
-
Method Summary
Modifier and TypeMethodDescriptionec2Capacities(Collection<EC2Capacity> ec2Capacities) The Amazon EC2 capacities for the server.ec2Capacities(Consumer<EC2Capacity.Builder>... ec2Capacities) The Amazon EC2 capacities for the server.ec2Capacities(EC2Capacity... ec2Capacities) The Amazon EC2 capacities for the server.rackUnitHeight(String rackUnitHeight) The rack unit height of the server.rackUnitHeight(RackUnitHeight rackUnitHeight) The rack unit height of the server.serverDepthInches(Float serverDepthInches) The depth of the server in inches.serverHeightInches(Float serverHeightInches) The height of the server in inches.serverPowerDrawKva(Float serverPowerDrawKva) The maximum power draw of the server in kVA.serverWeightLbs(Float serverWeightLbs) The weight of the server in pounds.serverWidthInches(Float serverWidthInches) The width of the server in inches.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
serverPowerDrawKva
The maximum power draw of the server in kVA.
- Parameters:
serverPowerDrawKva- The maximum power draw of the server in kVA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverWeightLbs
The weight of the server in pounds.
- Parameters:
serverWeightLbs- The weight of the server in pounds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverHeightInches
The height of the server in inches.
- Parameters:
serverHeightInches- The height of the server in inches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverWidthInches
The width of the server in inches.
- Parameters:
serverWidthInches- The width of the server in inches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverDepthInches
The depth of the server in inches.
- Parameters:
serverDepthInches- The depth of the server in inches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rackUnitHeight
The rack unit height of the server.
-
HEIGHT_2U- 2 rack units. -
HEIGHT_1U- 1 rack unit.
- Parameters:
rackUnitHeight- The rack unit height of the server.-
HEIGHT_2U- 2 rack units. -
HEIGHT_1U- 1 rack unit.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
rackUnitHeight
The rack unit height of the server.
-
HEIGHT_2U- 2 rack units. -
HEIGHT_1U- 1 rack unit.
- Parameters:
rackUnitHeight- The rack unit height of the server.-
HEIGHT_2U- 2 rack units. -
HEIGHT_1U- 1 rack unit.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
ec2Capacities
The Amazon EC2 capacities for the server.
- Parameters:
ec2Capacities- The Amazon EC2 capacities for the server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2Capacities
The Amazon EC2 capacities for the server.
- Parameters:
ec2Capacities- The Amazon EC2 capacities for the server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2Capacities
The Amazon EC2 capacities for the server.
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 toec2Capacities(List<EC2Capacity>).- 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:
-