public CreateNatGatewayRequest withSecondaryPrivateIpAddresses(java.util.Collection<String> secondaryPrivateIpAddresses) {
        setSecondaryPrivateIpAddresses(secondaryPrivateIpAddresses);
        return this;
    }
<p>
Secondary private IPv4 addresses. For more information about secondary addresses, see <a
href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating">Create a NAT
gateway</a> in the <i>Amazon VPC User Guide</i>.
</p>

@param secondaryPrivateIpAddresses
       Secondary private IPv4 addresses. For more information about secondary addresses, see <a
       href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html#nat-gateway-creating">Create a
       NAT gateway</a> in the <i>Amazon VPC 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/CreateNatGatewayRequest.java