public ModifyInstanceProfileRequest withNetworkType(String networkType) {
        setNetworkType(networkType);
        return this;
    }
<p>
Specifies the network type for the instance profile. A value of <code>IPV4</code> represents an instance profile
with IPv4 network type and only supports IPv4 addressing. A value of <code>IPV6</code> represents an instance
profile with IPv6 network type and only supports IPv6 addressing. A value of <code>DUAL</code> represents an
instance profile with dual network type that supports IPv4 and IPv6 addressing.
</p>

@param networkType
       Specifies the network type for the instance profile. A value of <code>IPV4</code> represents an instance
       profile with IPv4 network type and only supports IPv4 addressing. A value of <code>IPV6</code> represents
       an instance profile with IPv6 network type and only supports IPv6 addressing. A value of <code>DUAL</code>
       represents an instance profile with dual network type that supports IPv4 and IPv6 addressing.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/ModifyInstanceProfileRequest.java