Interface CapacityUsageSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CapacityUsageSummary.Builder,
,CapacityUsageSummary> SdkBuilder<CapacityUsageSummary.Builder,
,CapacityUsageSummary> SdkPojo
- Enclosing class:
CapacityUsageSummary
public static interface CapacityUsageSummary.Builder
extends SdkPojo, CopyableBuilder<CapacityUsageSummary.Builder,CapacityUsageSummary>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CapacityUsageSummary.Builder
cidRs
(Consumer<CIDRSummary.Builder> cidRs) Describes the capacity usage of the CIDR blocks used by the IP set references in a firewall.cidRs
(CIDRSummary cidRs) Describes the capacity usage of the CIDR blocks used by the IP set references in a firewall.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
-
cidRs
Describes the capacity usage of the CIDR blocks used by the IP set references in a firewall.
- Parameters:
cidRs
- Describes the capacity usage of the CIDR blocks used by the IP set references in a firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidRs
Describes the capacity usage of the CIDR blocks used by the IP set references in a firewall.
This is a convenience method that creates an instance of theCIDRSummary.Builder
avoiding the need to create one manually viaCIDRSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocidRs(CIDRSummary)
.- Parameters:
cidRs
- a consumer that will call methods onCIDRSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-