public CreateManagedPrefixListRequest withAddressFamily(String addressFamily) {
        setAddressFamily(addressFamily);
        return this;
    }
<p>
The IP address type.
</p>
<p>
Valid Values: <code>IPv4</code> | <code>IPv6</code>
</p>

@param addressFamily
       The IP address type.</p>
       <p>
       Valid Values: <code>IPv4</code> | <code>IPv6</code>
@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/CreateManagedPrefixListRequest.java