Interface IpamDiscoveredResourceCidr.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<IpamDiscoveredResourceCidr.Builder,IpamDiscoveredResourceCidr>
,SdkBuilder<IpamDiscoveredResourceCidr.Builder,IpamDiscoveredResourceCidr>
,SdkPojo
- Enclosing class:
- IpamDiscoveredResourceCidr
public static interface IpamDiscoveredResourceCidr.Builder extends SdkPojo, CopyableBuilder<IpamDiscoveredResourceCidr.Builder,IpamDiscoveredResourceCidr>
-
-
Method Summary
-
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
-
ipamResourceDiscoveryId
IpamDiscoveredResourceCidr.Builder ipamResourceDiscoveryId(String ipamResourceDiscoveryId)
The resource discovery ID.
- Parameters:
ipamResourceDiscoveryId
- The resource discovery ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceRegion
IpamDiscoveredResourceCidr.Builder resourceRegion(String resourceRegion)
The resource Region.
- Parameters:
resourceRegion
- The resource Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
IpamDiscoveredResourceCidr.Builder resourceId(String resourceId)
The resource ID.
- Parameters:
resourceId
- The resource ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceOwnerId
IpamDiscoveredResourceCidr.Builder resourceOwnerId(String resourceOwnerId)
The resource owner ID.
- Parameters:
resourceOwnerId
- The resource owner ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceCidr
IpamDiscoveredResourceCidr.Builder resourceCidr(String resourceCidr)
The resource CIDR.
- Parameters:
resourceCidr
- The resource CIDR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
IpamDiscoveredResourceCidr.Builder resourceType(String resourceType)
The resource type.
- Parameters:
resourceType
- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpamResourceType
,IpamResourceType
-
resourceType
IpamDiscoveredResourceCidr.Builder resourceType(IpamResourceType resourceType)
The resource type.
- Parameters:
resourceType
- The resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpamResourceType
,IpamResourceType
-
resourceTags
IpamDiscoveredResourceCidr.Builder resourceTags(Collection<IpamResourceTag> resourceTags)
The resource tags.
- Parameters:
resourceTags
- The resource tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
IpamDiscoveredResourceCidr.Builder resourceTags(IpamResourceTag... resourceTags)
The resource tags.
- Parameters:
resourceTags
- The resource tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
IpamDiscoveredResourceCidr.Builder resourceTags(Consumer<IpamResourceTag.Builder>... resourceTags)
The resource tags.
This is a convenience method that creates an instance of theIpamResourceTag.Builder
avoiding the need to create one manually viaIpamResourceTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#resourceTags(List
.) - Parameters:
resourceTags
- a consumer that will call methods onIpamResourceTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resourceTags(java.util.Collection
)
-
ipUsage
IpamDiscoveredResourceCidr.Builder ipUsage(Double ipUsage)
The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:
-
For resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs.
-
For resources that are subnets, if the subnet has an IPv4 CIDR provisioned to it, this is the percentage of IPv4 address space in the subnet that's in use. If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address space in use is not represented. The percentage of IPv6 address space in use cannot currently be calculated.
-
For resources that are public IPv4 pools, this is the percentage of IP address space in the pool that's been allocated to Elastic IP addresses (EIPs).
- Parameters:
ipUsage
- The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:-
For resources that are VPCs, this is the percentage of IP address space in the VPC that's taken up by subnet CIDRs.
-
For resources that are subnets, if the subnet has an IPv4 CIDR provisioned to it, this is the percentage of IPv4 address space in the subnet that's in use. If the subnet has an IPv6 CIDR provisioned to it, the percentage of IPv6 address space in use is not represented. The percentage of IPv6 address space in use cannot currently be calculated.
-
For resources that are public IPv4 pools, this is the percentage of IP address space in the pool that's been allocated to Elastic IP addresses (EIPs).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
vpcId
IpamDiscoveredResourceCidr.Builder vpcId(String vpcId)
The VPC ID.
- Parameters:
vpcId
- The VPC ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleTime
IpamDiscoveredResourceCidr.Builder sampleTime(Instant sampleTime)
The last successful resource discovery time.
- Parameters:
sampleTime
- The last successful resource discovery time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-