Interface StackSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StackSummary.Builder,
,StackSummary> SdkBuilder<StackSummary.Builder,
,StackSummary> SdkPojo
- Enclosing class:
StackSummary
public static interface StackSummary.Builder
extends SdkPojo, CopyableBuilder<StackSummary.Builder,StackSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe number of apps.The stack's ARN.default StackSummary.Builder
instancesCount
(Consumer<InstancesCount.Builder> instancesCount) AnInstancesCount
object with the number of instances in each status.instancesCount
(InstancesCount instancesCount) AnInstancesCount
object with the number of instances in each status.layersCount
(Integer layersCount) The number of layers.The stack name.The stack ID.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
-
stackId
The stack ID.
- Parameters:
stackId
- The stack ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The stack name.
- Parameters:
name
- The stack name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The stack's ARN.
- Parameters:
arn
- The stack's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layersCount
The number of layers.
- Parameters:
layersCount
- The number of layers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appsCount
The number of apps.
- Parameters:
appsCount
- The number of apps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instancesCount
An
InstancesCount
object with the number of instances in each status.- Parameters:
instancesCount
- AnInstancesCount
object with the number of instances in each status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instancesCount
An
This is a convenience method that creates an instance of theInstancesCount
object with the number of instances in each status.InstancesCount.Builder
avoiding the need to create one manually viaInstancesCount.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstancesCount(InstancesCount)
.- Parameters:
instancesCount
- a consumer that will call methods onInstancesCount.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-