public static interface IpamDiscoveredResourceCidr.Builder extends SdkPojo, CopyableBuilder<IpamDiscoveredResourceCidr.Builder,IpamDiscoveredResourceCidr>
equalsBySdkFields, sdkFields
copy
applyMutation, build
IpamDiscoveredResourceCidr.Builder ipamResourceDiscoveryId(String ipamResourceDiscoveryId)
The resource discovery ID.
ipamResourceDiscoveryId
- The resource discovery ID.IpamDiscoveredResourceCidr.Builder resourceRegion(String resourceRegion)
The resource Region.
resourceRegion
- The resource Region.IpamDiscoveredResourceCidr.Builder resourceId(String resourceId)
The resource ID.
resourceId
- The resource ID.IpamDiscoveredResourceCidr.Builder resourceOwnerId(String resourceOwnerId)
The resource owner ID.
resourceOwnerId
- The resource owner ID.IpamDiscoveredResourceCidr.Builder resourceCidr(String resourceCidr)
The resource CIDR.
resourceCidr
- The resource CIDR.IpamDiscoveredResourceCidr.Builder resourceType(String resourceType)
The resource type.
resourceType
- The resource type.IpamResourceType
,
IpamResourceType
IpamDiscoveredResourceCidr.Builder resourceType(IpamResourceType resourceType)
The resource type.
resourceType
- The resource type.IpamResourceType
,
IpamResourceType
IpamDiscoveredResourceCidr.Builder resourceTags(Collection<IpamResourceTag> resourceTags)
The resource tags.
resourceTags
- The resource tags.IpamDiscoveredResourceCidr.Builder resourceTags(IpamResourceTag... resourceTags)
The resource tags.
resourceTags
- The resource tags.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 via IpamResourceTag.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #resourceTags(List
.
resourceTags
- a consumer that will call methods on
IpamResourceTag.Builder
#resourceTags(java.util.Collection)
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).
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).
IpamDiscoveredResourceCidr.Builder vpcId(String vpcId)
The VPC ID.
vpcId
- The VPC ID.IpamDiscoveredResourceCidr.Builder sampleTime(Instant sampleTime)
The last successful resource discovery time.
sampleTime
- The last successful resource discovery time.Copyright © 2023. All rights reserved.