public IpamDiscoveredPublicAddress withNetworkBorderGroup(String networkBorderGroup) {
        setNetworkBorderGroup(networkBorderGroup);
        return this;
    }
<p>
The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is
assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail">Local Zone
availability</a> in the <i>Amazon EC2 User Guide</i>.
</p>

@param networkBorderGroup
       The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address
       is assigned to is in. Defaults to an AZ network border group. For more information on available Local
       Zones, see <a
       href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-zone-avail">Local Zone
       availability</a> in the <i>Amazon EC2 User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/IpamDiscoveredPublicAddress.java