public CreatePublicVirtualInterfaceResult withAddressFamily(AddressFamily addressFamily) {
        this.addressFamily = addressFamily.toString();
        return this;
    }
<p>
The address family for the BGP peer.
</p>

@param addressFamily
       The address family for the BGP peer.
@return Returns a reference to this object so that method calls can be chained together.
@see AddressFamily
aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/CreatePublicVirtualInterfaceResult.java