Interface IpamDiscoveredResourceCidr.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IpamDiscoveredResourceCidr.Builder,
,IpamDiscoveredResourceCidr> SdkBuilder<IpamDiscoveredResourceCidr.Builder,
,IpamDiscoveredResourceCidr> SdkPojo
- Enclosing class:
IpamDiscoveredResourceCidr
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZoneId
(String availabilityZoneId) The Availability Zone ID.ipamResourceDiscoveryId
(String ipamResourceDiscoveryId) The resource discovery ID.The source that allocated the IP address space.ipSource
(IpamResourceCidrIpSource ipSource) The source that allocated the IP address space.The percentage of IP address space in use.networkInterfaceAttachmentStatus
(String networkInterfaceAttachmentStatus) For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.networkInterfaceAttachmentStatus
(IpamNetworkInterfaceAttachmentStatus networkInterfaceAttachmentStatus) For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.resourceCidr
(String resourceCidr) The resource CIDR.resourceId
(String resourceId) The resource ID.resourceOwnerId
(String resourceOwnerId) The resource owner ID.resourceRegion
(String resourceRegion) The resource Region.resourceTags
(Collection<IpamResourceTag> resourceTags) The resource tags.resourceTags
(Consumer<IpamResourceTag.Builder>... resourceTags) The resource tags.resourceTags
(IpamResourceTag... resourceTags) The resource tags.resourceType
(String resourceType) The resource type.resourceType
(IpamResourceType resourceType) The resource type.sampleTime
(Instant sampleTime) The last successful resource discovery time.The subnet ID.The VPC 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
-
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
The resource Region.
- Parameters:
resourceRegion
- The resource Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
The resource CIDR.
- Parameters:
resourceCidr
- The resource CIDR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipSource
The source that allocated the IP address space.
byoip
oramazon
indicates public IP address space allocated by Amazon or space that you have allocated with Bring your own IP (BYOIP).none
indicates private space.- Parameters:
ipSource
- The source that allocated the IP address space.byoip
oramazon
indicates public IP address space allocated by Amazon or space that you have allocated with Bring your own IP (BYOIP).none
indicates private space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipSource
The source that allocated the IP address space.
byoip
oramazon
indicates public IP address space allocated by Amazon or space that you have allocated with Bring your own IP (BYOIP).none
indicates private space.- Parameters:
ipSource
- The source that allocated the IP address space.byoip
oramazon
indicates public IP address space allocated by Amazon or space that you have allocated with Bring your own IP (BYOIP).none
indicates private space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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:
-
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:
-
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
The resource tags.
- Parameters:
resourceTags
- The resource tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 toresourceTags(List<IpamResourceTag>)
.- 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:
-
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
The VPC ID.
- Parameters:
vpcId
- The VPC ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetId
The subnet ID.
- Parameters:
subnetId
- The subnet ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaceAttachmentStatus
IpamDiscoveredResourceCidr.Builder networkInterfaceAttachmentStatus(String networkInterfaceAttachmentStatus) For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.
- Parameters:
networkInterfaceAttachmentStatus
- For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkInterfaceAttachmentStatus
IpamDiscoveredResourceCidr.Builder networkInterfaceAttachmentStatus(IpamNetworkInterfaceAttachmentStatus networkInterfaceAttachmentStatus) For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.
- Parameters:
networkInterfaceAttachmentStatus
- For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
availabilityZoneId
The Availability Zone ID.
- Parameters:
availabilityZoneId
- The Availability Zone ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-