Interface IpamDiscoveredResourceCidr.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IpamDiscoveredResourceCidr.Builder,IpamDiscoveredResourceCidr>,SdkBuilder<IpamDiscoveredResourceCidr.Builder,IpamDiscoveredResourceCidr>,SdkPojo
- Enclosing class:
- IpamDiscoveredResourceCidr
@Mutable @NotThreadSafe 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, sdkFieldNameToField, 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.
-
ipSource
IpamDiscoveredResourceCidr.Builder ipSource(String ipSource)
The source that allocated the IP address space.
byoiporamazonindicates public IP address space allocated by Amazon or space that you have allocated with Bring your own IP (BYOIP).noneindicates private space.- Parameters:
ipSource- The source that allocated the IP address space.byoiporamazonindicates public IP address space allocated by Amazon or space that you have allocated with Bring your own IP (BYOIP).noneindicates private space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpamResourceCidrIpSource,IpamResourceCidrIpSource
-
ipSource
IpamDiscoveredResourceCidr.Builder ipSource(IpamResourceCidrIpSource ipSource)
The source that allocated the IP address space.
byoiporamazonindicates public IP address space allocated by Amazon or space that you have allocated with Bring your own IP (BYOIP).noneindicates private space.- Parameters:
ipSource- The source that allocated the IP address space.byoiporamazonindicates public IP address space allocated by Amazon or space that you have allocated with Bring your own IP (BYOIP).noneindicates private space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpamResourceCidrIpSource,IpamResourceCidrIpSource
-
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.Builderavoiding the need to create one manually viaIpamResourceTag.builder().When the
Consumercompletes,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.
-
subnetId
IpamDiscoveredResourceCidr.Builder subnetId(String 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:
IpamNetworkInterfaceAttachmentStatus,IpamNetworkInterfaceAttachmentStatus
-
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:
IpamNetworkInterfaceAttachmentStatus,IpamNetworkInterfaceAttachmentStatus
-
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.
-
availabilityZoneId
IpamDiscoveredResourceCidr.Builder availabilityZoneId(String 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.
-
-