public PrivateLinkConfig withSubnetArns(java.util.Collection<String> subnetArns) {
        setSubnetArns(subnetArns);
        return this;
    }
<p>
Specifies the ARN of the subnet where your VPC endpoint is located. You can only specify one ARN.
</p>

@param subnetArns
       Specifies the ARN of the subnet where your VPC endpoint is located. You can only specify one ARN.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/PrivateLinkConfig.java