public ModifyInstanceProfileRequest withSubnetGroupIdentifier(String subnetGroupIdentifier) {
        setSubnetGroupIdentifier(subnetGroupIdentifier);
        return this;
    }
<p>
A subnet group to associate with the instance profile.
</p>

@param subnetGroupIdentifier
       A subnet group to associate with the instance profile.
@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